Uses of Class
com.norconex.commons.lang.time.DurationFormatter
Packages that use DurationFormatter
-
Uses of DurationFormatter in com.norconex.commons.lang.time
Fields in com.norconex.commons.lang.time declared as DurationFormatterModifier and TypeFieldDescriptionstatic final DurationFormatterDurationFormatter.COMPACTExample: 5D18h1m23sstatic final DurationFormatterDurationFormatter.FULLExample: 5 days 18 hours 1 minute 23 secondsMethods in com.norconex.commons.lang.time that return DurationFormatterModifier and TypeMethodDescriptionDurationFormatter.withHighestUnit(DurationUnit highestUnit) Creates a copy if this formatter with the given highest unit.DurationFormatter.withInnerSeparator(String innerSeparator) Creates a copy if this formatter with the specified separator text to be inserted between the numeric and textual values.DurationFormatter.withLocale(Locale locale) Creates a copy if this formatter with the given locale.DurationFormatter.withLowestUnit(DurationUnit lowestUnit) Creates a copy if this formatter with the given lowest unit.DurationFormatter.withNumberFormat(NumberFormat numberFormat) Creates a copy if this formatter with the given number format.DurationFormatter.withOuterLastSeparator(String outerLastSeparator) Creates a copy if this formatter with the specified separator text to be inserted between the second to last and last formatter units (number and text pairs).DurationFormatter.withOuterSeparator(String outerSeparator) Creates a copy if this formatter with the specified separator text to be inserted between each formatter units (number and text pairs).DurationFormatter.withUnitFormatter(DurationUnitFormatter unitFormatter) Creates a copy if this formatter with the given unit formatter.DurationFormatter.withUnitPrecision(int unitPrecision) Creates a copy if this formatter with the given unit precision.