Uses of Class
net.time4j.PrettyTime
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.-
Uses of PrettyTime in net.time4j
Modifier and TypeMethodDescriptionstatic PrettyTime
Gets an instance ofPrettyTime
for given language, possibly cached.PrettyTime.withDefaultListSeparator(String separator)
Mandates the use of given default list separator.PrettyTime.withEmptyUnit(CalendarUnit emptyUnit)
Defines the time unit used for formatting an empty duration.PrettyTime.withEmptyUnit(ClockUnit emptyUnit)
Defines the time unit used for formatting an empty duration.PrettyTime.withLastListSeparator(String separator)
Mandates the use of given list separator at the last position.PrettyTime.withMinusSign(String minusSign)
Defines the localized minus sign.PrettyTime.withNumerals(NumberSystem numsys)
Defines the given number system for representing amounts.PrettyTime.withReferenceClock(TimeSource<?> clock)
Yields a changed copy of this instance with given reference clock.PrettyTime.withShortStyle()
Mandates the use of abbreviations as default style.PrettyTime.withWeeksToDays()
Determines that weeks will always be normalized to days.PrettyTime.withZeroDigit(char zeroDigit)
Defines the localized zero digit.PrettyTime.withZeroDigit(NumberSystem numberSystem)
Deprecated.
withZeroDigit(char)
orwithNumerals(NumberSystem)