@Named public class DatatypeDescriptorDate extends AbstractDatatypeDescriptor<Date>
DatatypeDescriptor for Date.| Modifier and Type | Class and Description |
|---|---|
private static class |
DatatypeDescriptorDate.DaySegment
Implementation for
Date.getDate(). |
private static class |
DatatypeDescriptorDate.HourSegment
Implementation for
Date.getHours(). |
private static class |
DatatypeDescriptorDate.MinuteSegment
Implementation for
Date.getMinutes(). |
private static class |
DatatypeDescriptorDate.MonthSegment
Implementation for
Date.getMonth(). |
private static class |
DatatypeDescriptorDate.SecondSegment
Implementation for
Date.getSeconds(). |
private static class |
DatatypeDescriptorDate.YearSegment
Implementation for
Date.getYear(). |
| Constructor and Description |
|---|
DatatypeDescriptorDate()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Date |
doCreate(Object... segments)
Called from
AbstractDatatypeDescriptor.create(Object...) after input validation has been performed. |
create, getDatatype, getSegment, getSegmentDescriptors, toStringprotected Date doCreate(Object... segments)
AbstractDatatypeDescriptor.create(Object...) after input validation has been performed. Implement this method and do not
worry about null values, wrong array size, etc.doCreate in class AbstractDatatypeDescriptor<Date>segments - are the segment values.Copyright © 2001–2015 mmm-Team. All rights reserved.