Package net.time4j.format.expert
Enum Class IsoDateStyle
- All Implemented Interfaces:
- Serializable,- Comparable<IsoDateStyle>,- java.lang.constant.Constable
Determines a suitable style in ISO-format for printing gregorian calendar dates.
- Since:
- 4.18
- Author:
- Meno Hochschild
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionStyle "20160425".Style "2016116".Style "2016W171".Style "2016-04-25".Style "2016-116".Style "2016-W17-1".
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDetermines, if this style describes the basic or extended iso-format.static IsoDateStyleReturns the enum constant of this class with the specified name.static IsoDateStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.EnumcompareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
BASIC_CALENDAR_DATEStyle "20160425". 
- 
BASIC_ORDINAL_DATEStyle "2016116". 
- 
BASIC_WEEK_DATEStyle "2016W171". 
- 
EXTENDED_CALENDAR_DATEStyle "2016-04-25". 
- 
EXTENDED_ORDINAL_DATEStyle "2016-116". 
- 
EXTENDED_WEEK_DATEStyle "2016-W17-1". 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isExtendedpublic boolean isExtended()Determines, if this style describes the basic or extended iso-format. - Returns:
- trueif extended else- false
 
 
-