Uses of Interface
org.ocpsoft.prettytime.TimeFormat
Packages that use TimeFormat
Package
Description
-
Uses of TimeFormat in org.ocpsoft.prettytime
Methods in org.ocpsoft.prettytime that return TimeFormatModifier and TypeMethodDescription<UNIT extends TimeUnit>
TimeFormatPrettyTime.removeUnit(Class<UNIT> unitType) Removes the mapping for the givenTimeUnittype.PrettyTime.removeUnit(TimeUnit unit) Removes the mapping for the givenTimeUnit.Methods in org.ocpsoft.prettytime with parameters of type TimeFormatModifier and TypeMethodDescriptionPrettyTime.registerUnit(TimeUnit unit, TimeFormat format) Register the givenTimeUnitand correspondingTimeFormatinstance to be used in calculations.PrettyTime.setUnits(TimeFormat format, TimeUnit... units) -
Uses of TimeFormat in org.ocpsoft.prettytime.format
Classes in org.ocpsoft.prettytime.format that implement TimeFormatModifier and TypeClassDescriptionclassRepresents a simple method of formatting a specificDurationof time -
Uses of TimeFormat in org.ocpsoft.prettytime.i18n
Methods in org.ocpsoft.prettytime.i18n that return TimeFormatModifier and TypeMethodDescriptionResources_cs.getFormatFor(TimeUnit t) Resources_de.getFormatFor(TimeUnit t) Resources_fi.getFormatFor(TimeUnit t) Resources_hr.getFormatFor(TimeUnit t) Resources_ja.getFormatFor(TimeUnit t) Resources_kk.getFormatFor(TimeUnit t) Resources_pl.getFormatFor(TimeUnit t) Resources_ru.getFormatFor(TimeUnit t) Resources_sk.getFormatFor(TimeUnit t) Resources_uk.getFormatFor(TimeUnit t) -
Uses of TimeFormat in org.ocpsoft.prettytime.impl
Classes in org.ocpsoft.prettytime.impl that implement TimeFormatModifier and TypeClassDescriptionclassRepresents a simple method of formatting a specificDurationof timeMethods in org.ocpsoft.prettytime.impl that return TimeFormatModifier and TypeMethodDescriptionTimeFormatProvider.getFormatFor(TimeUnit t) Return the appropriateTimeFormatfor the givenTimeUnit