| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| Modifier and Type | Method and Description |
|---|---|
static PrettyTime |
PrettyTime.of(Locale locale)
Gets an instance of
PrettyTime for given language,
possibly cached. |
PrettyTime |
PrettyTime.withEmptyUnit(CalendarUnit emptyUnit)
Defines the time unit used for formatting an empty duration.
|
PrettyTime |
PrettyTime.withEmptyUnit(ClockUnit emptyUnit)
Defines the time unit used for formatting an empty duration.
|
PrettyTime |
PrettyTime.withMinusSign(String minusSign)
Defines the localized minus sign.
|
PrettyTime |
PrettyTime.withReferenceClock(TimeSource<?> clock)
Yields a changed copy of this instance with given reference
clock.
|
PrettyTime |
PrettyTime.withShortStyle()
Mandates the use of abbreviations as default style.
|
PrettyTime |
PrettyTime.withWeeksToDays()
Determines that weeks will always be normalized to days.
|
PrettyTime |
PrettyTime.withZeroDigit(char zeroDigit)
Defines the localized zero digit.
|
PrettyTime |
PrettyTime.withZeroDigit(NumberSystem numberSystem)
Defines the localized zero digit based on given decimal number system.
|
Copyright © 2014–2017. All rights reserved.