public interface CalendarUnit
A description of a calendar unit.
Modifier and Type | Method and Description |
---|---|
DisplayText |
getAbbrev2()
Gets a 2-letter abbreviation for this unit.
|
DisplayText |
getAbbrev3()
Gets a 3-letter abbreviation for this unit.
|
long |
getDateTimeCode()
Gets the number of this unit used in
DateTime. |
DisplayText |
getDescription()
Gets a description of this unit.
|
DisplayText |
getInitial()
Gets a single letter abbreviation for this unit.
|
DisplayText |
getName()
Gets the full name of this unit.
|
DisplayText getName()
mandatory
- This method must be implemented. DisplayText getAbbrev3()
mandatory
- This method must be implemented. DisplayText getAbbrev2()
mandatory
- This method must be implemented. DisplayText getInitial()
mandatory
- This method must be implemented. long getDateTimeCode()
DateTime.
mandatory
- This method must be implemented. DisplayText getDescription()
mandatory
- This method must be implemented.