net.sf.dynamicreports.report.builder.datatype
Class DateType
java.lang.Object
net.sf.dynamicreports.report.base.datatype.AbstractDataType<Date,Date>
net.sf.dynamicreports.report.builder.datatype.DateType
- All Implemented Interfaces:
- Serializable, DRIDataType<Date,Date>
- Direct Known Subclasses:
- DateDayType, DateMonthType, DateYearToFractionType, DateYearToHourType, DateYearToMinuteType, DateYearToMonthType, DateYearToSecondType, DateYearType, TimeHourToFractionType, TimeHourToMinuteType, TimeHourToSecondType
public class DateType
- extends AbstractDataType<Date,Date>
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateType
public DateType()
getPattern
public String getPattern()
- Specified by:
getPattern
in interface DRIDataType<Date,Date>
- Overrides:
getPattern
in class AbstractDataType<Date,Date>
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
- Specified by:
getHorizontalAlignment
in interface DRIDataType<Date,Date>
- Overrides:
getHorizontalAlignment
in class AbstractDataType<Date,Date>
valueToString
public String valueToString(Date value,
Locale locale)
- Specified by:
valueToString
in interface DRIDataType<Date,Date>
- Overrides:
valueToString
in class AbstractDataType<Date,Date>
stringToValue
public Date stringToValue(String value,
Locale locale)
throws DRException
- Specified by:
stringToValue
in interface DRIDataType<Date,Date>
- Overrides:
stringToValue
in class AbstractDataType<Date,Date>
- Throws:
DRException
Copyright © 2010-2014. All Rights Reserved.