Bug 157948 Default value of datetime parameter doesn't take effect
Default value of datetime parameter doesn't take effect Steps to reproduce: 1.new a report and new a parameter 2.set the parameter data type"DateTime",display type"Radio Button" and new two parameters,the display text and value of the first are "this year" and "09/05/2006 the second is "last year" and "09/05/2006" 3.preview in html Expected result: the default value takes effects Actual result: the default value doesn't take effects
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/DataUtil.java
/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Actuate Corporation - Initial implementation.
 ************************************************************************************/
package org.eclipse.birt.report.utility;
import java.math.BigDecimal;
import java.util.Locale;
import org.eclipse.birt.report.model.api.elements.DesignChoiceConstants;
import org.eclipse.birt.report.model.api.metadata.ValidationValueException;
import org.eclipse.birt.report.model.api.util.ParameterValidationUtil;
/**
 * Provides data convert and format services
 * 
 */
public class DataUtil