| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| Modifier and Type | Method and Description |
|---|---|
static <U extends IsoUnit> |
Duration.formatter(Class<U> type,
String pattern)
Equivalent to
ofPattern(Class, String). |
static Duration.Formatter<IsoUnit> |
Duration.formatter(String pattern)
Equivalent to
ofPattern(String). |
static Duration.Formatter<IsoUnit> |
Duration.Formatter.ofJodaStyle()
Handles Joda-Time-style-patterns which in general follow XML-schema
- with the exception of sign handling.
|
static <U extends IsoUnit> |
Duration.Formatter.ofPattern(Class<U> type,
String pattern)
Constructs a new instance of duration formatter.
|
static Duration.Formatter<IsoUnit> |
Duration.Formatter.ofPattern(String pattern)
Equivalent to
ofPattern(IsoUnit.class, pattern). |
Copyright © 2014–2015. All rights reserved.