| Package | Description |
|---|---|
| org.ocpsoft.prettytime |
| Modifier and Type | Method and Description |
|---|---|
PrettyTime |
PrettyTime.registerUnit(TimeUnit unit,
TimeFormat format)
Register the given
TimeUnit and corresponding TimeFormat instance to be used in calculations. |
PrettyTime |
PrettyTime.setLocale(Locale locale)
Set the the
Locale for this PrettyTime object. |
PrettyTime |
PrettyTime.setReference(Date timestamp)
Set the reference
Date. |
Copyright © 2015 OCPsoft. All Rights Reserved.