Package org.ocpsoft.prettytime.units
Class JustNow
java.lang.Object
org.ocpsoft.prettytime.impl.ResourcesTimeUnit
org.ocpsoft.prettytime.units.JustNow
- All Implemented Interfaces:
TimeUnit
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ocpsoft.prettytime.impl.ResourcesTimeUnit
equals, getMaxQuantity, getMillisPerUnit, getResourceBundleName, hashCode, setMaxQuantity, setMillisPerUnit, toString
-
Constructor Details
-
JustNow
public JustNow()
-
-
Method Details
-
getResourceKeyPrefix
Description copied from class:ResourcesTimeUnitReturn the time-unit prefix to specify which value to load from the bundle.- Specified by:
getResourceKeyPrefixin classResourcesTimeUnit
-
isPrecise
public boolean isPrecise()Description copied from interface:TimeUnitWhether or not thisTimeUnitrepresents a price measurement of time, or a general concept of time. E.g: "minute" as opposed to "moment".- Specified by:
isPrecisein interfaceTimeUnit- Overrides:
isPrecisein classResourcesTimeUnit
-