Package | Description |
---|---|
org.apache.commons.lang.time |
Provides classes and methods to work with dates and durations.
|
Modifier and Type | Class and Description |
---|---|
private static class |
FastDateFormat.PaddedNumberField
Inner class to output a padded number.
|
private static class |
FastDateFormat.TwelveHourField
Inner class to output the twelve hour field.
|
private static class |
FastDateFormat.TwentyFourHourField
Inner class to output the twenty four hour field.
|
private static class |
FastDateFormat.TwoDigitMonthField
Inner class to output a two digit month.
|
private static class |
FastDateFormat.TwoDigitNumberField
Inner class to output a two digit number.
|
private static class |
FastDateFormat.TwoDigitYearField
Inner class to output a two digit year.
|
private static class |
FastDateFormat.UnpaddedMonthField
Inner class to output an unpadded month.
|
private static class |
FastDateFormat.UnpaddedNumberField
Inner class to output an unpadded number.
|
Modifier and Type | Field and Description |
---|---|
private FastDateFormat.NumberRule |
FastDateFormat.TwelveHourField.mRule |
private FastDateFormat.NumberRule |
FastDateFormat.TwentyFourHourField.mRule |
Modifier and Type | Method and Description |
---|---|
protected FastDateFormat.NumberRule |
FastDateFormat.selectNumberRule(int field,
int padding)
Gets an appropriate rule for the padding required.
|
Constructor and Description |
---|
TwelveHourField(FastDateFormat.NumberRule rule)
Constructs an instance of
TwelveHourField with the specified
NumberRule . |
TwentyFourHourField(FastDateFormat.NumberRule rule)
Constructs an instance of
TwentyFourHourField with the specified
NumberRule . |