| Package | Description |
|---|---|
| org.ocpsoft.prettytime.format | |
| org.ocpsoft.prettytime.impl |
| Modifier and Type | Method and Description |
|---|---|
SimpleTimeFormat |
SimpleTimeFormat.setFuturePluralName(String futurePluralName) |
SimpleTimeFormat |
SimpleTimeFormat.setFuturePrefix(String futurePrefix) |
SimpleTimeFormat |
SimpleTimeFormat.setFutureSingularName(String futureSingularName) |
SimpleTimeFormat |
SimpleTimeFormat.setFutureSuffix(String futureSuffix) |
SimpleTimeFormat |
SimpleTimeFormat.setPastPluralName(String pastPluralName) |
SimpleTimeFormat |
SimpleTimeFormat.setPastPrefix(String pastPrefix) |
SimpleTimeFormat |
SimpleTimeFormat.setPastSingularName(String pastSingularName) |
SimpleTimeFormat |
SimpleTimeFormat.setPastSuffix(String pastSuffix) |
SimpleTimeFormat |
SimpleTimeFormat.setPattern(String pattern) |
SimpleTimeFormat |
SimpleTimeFormat.setPluralName(String pluralName) |
SimpleTimeFormat |
SimpleTimeFormat.setRoundingTolerance(int roundingTolerance)
The percentage of the current
TimeUnit.getMillisPerUnit() for which the quantity may be rounded up by one. |
SimpleTimeFormat |
SimpleTimeFormat.setSingularName(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
ResourcesTimeFormat
Represents a simple method of formatting a specific
Duration of time |
Copyright © 2015 OCPsoft. All Rights Reserved.