Package com.uc4.communication
Enum TimeSettings.FirstWeekOfYear
- java.lang.Object
-
- java.lang.Enum<TimeSettings.FirstWeekOfYear>
-
- com.uc4.communication.TimeSettings.FirstWeekOfYear
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TimeSettings.FirstWeekOfYear>
- Enclosing class:
- TimeSettings
public static enum TimeSettings.FirstWeekOfYear extends java.lang.Enum<TimeSettings.FirstWeekOfYear>
Display setting for the first week of the year.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST_4_DAY_WEEK
Year starts with the first 4 day week.FIRST_FULL_WEEK
Year starts with the first full week.STARTS_JAN1
Year starts with Jan.USE_CLIENT_SETTINGS
Use value defined in client settings variable.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeSettings.FirstWeekOfYear
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TimeSettings.FirstWeekOfYear[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USE_CLIENT_SETTINGS
public static final TimeSettings.FirstWeekOfYear USE_CLIENT_SETTINGS
Use value defined in client settings variable.
-
STARTS_JAN1
public static final TimeSettings.FirstWeekOfYear STARTS_JAN1
Year starts with Jan. 1.
-
FIRST_4_DAY_WEEK
public static final TimeSettings.FirstWeekOfYear FIRST_4_DAY_WEEK
Year starts with the first 4 day week.
-
FIRST_FULL_WEEK
public static final TimeSettings.FirstWeekOfYear FIRST_FULL_WEEK
Year starts with the first full week.
-
-
Method Detail
-
values
public static TimeSettings.FirstWeekOfYear[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TimeSettings.FirstWeekOfYear c : TimeSettings.FirstWeekOfYear.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeSettings.FirstWeekOfYear valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-