| 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.withReferenceClock(TimeSource<?> clock)
Yields a changed copy of this instance with given reference
clock.
|
PrettyTime |
PrettyTime.withZeroDigit(char zeroDigit)
Defines the localized zero digit.
|
Copyright © 2014. All rights reserved.