Package | Description |
---|---|
org.apache.commons.lang3.time |
Provides classes and methods to work with dates and durations.
|
Modifier and Type | Method and Description |
---|---|
(package private) static DurationFormatUtils.Token[] |
DurationFormatUtils.lexx(java.lang.String format)
Parses a classic date format string into Tokens
|
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
DurationFormatUtils.Token.containsTokenWithValue(DurationFormatUtils.Token[] tokens,
java.lang.Object value)
Helper method to determine if a set of tokens contain a value
|
(package private) static java.lang.String |
DurationFormatUtils.format(DurationFormatUtils.Token[] tokens,
long years,
long months,
long days,
long hours,
long minutes,
long seconds,
long milliseconds,
boolean padWithZeros)
The internal method to do the formatting.
|