| Package | Description |
|---|---|
| org.ocpsoft.prettytime | |
| org.ocpsoft.prettytime.format | |
| org.ocpsoft.prettytime.i18n | |
| org.ocpsoft.prettytime.impl |
| Modifier and Type | Method and Description |
|---|---|
TimeFormat |
PrettyTime.getFormat(TimeUnit unit)
|
<UNIT extends TimeUnit> |
PrettyTime.removeUnit(Class<UNIT> unitType)
Removes the mapping for the given
TimeUnit type. |
TimeFormat |
PrettyTime.removeUnit(TimeUnit unit)
Removes the mapping for the given
TimeUnit. |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleTimeFormat
Represents a simple method of formatting a specific
Duration of time |
| Modifier and Type | Method and Description |
|---|---|
TimeFormat |
Resources_uk.getFormatFor(TimeUnit t) |
TimeFormat |
Resources_sk.getFormatFor(TimeUnit t) |
TimeFormat |
Resources_ru.getFormatFor(TimeUnit t) |
TimeFormat |
Resources_ja.getFormatFor(TimeUnit t) |
TimeFormat |
Resources_fi.getFormatFor(TimeUnit t) |
TimeFormat |
Resources_cs.getFormatFor(TimeUnit t) |
| Modifier and Type | Class and Description |
|---|---|
class |
ResourcesTimeFormat
Represents a simple method of formatting a specific
Duration of time |
| Modifier and Type | Method and Description |
|---|---|
TimeFormat |
TimeFormatProvider.getFormatFor(TimeUnit t)
Return the appropriate
TimeFormat for the given TimeUnit |
Copyright © 2015 OCPsoft. All Rights Reserved.