public enum Platform extends Enum<Platform> implements ChronoPattern<Platform>
Defines the default format pattern of the actual platform.
This pattern type is applicable on the four basic types of Time4J, namely
|Enum Constant and Description|
The details of the platform pattern syntax are platform-dependent and will follow the syntax described in the Java-6-version of
|Modifier and Type||Method and Description|
Yields the format engine this pattern is designed for.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final Platform PATTERN
The details of the platform pattern syntax are platform-dependent and will
follow the syntax described in the Java-6-version of
Note that this configuration will not use the best available format engine. A
counter example are ISO-weekdates which are not supported in parsing in order to
preserve compatibility with Java-6. The performance cannot be the best, too. For
higher quality requirements users are strongly advised to use the alternative
net.time4j.format.expert.PatternType in i18n-module.
Timezone conversions always rely on the best available timezone data
which are not necessarily those of the JDK. This is even true in context
public static Platform values()
for (Platform c : Platform.values()) System.out.println(c);
Copyright © 2014–2018. All rights reserved.