public enum RecurrenceDayOfWeek extends java.lang.Enum<RecurrenceDayOfWeek>
Modifier and Type | Method and Description |
---|---|
int |
asInt() |
static int |
asInt(java.util.Set<RecurrenceDayOfWeek> dayOfWeek) |
static int |
dayOfWeekToInt(int i) |
static java.util.Set<RecurrenceDayOfWeek> |
fromInt(java.lang.Integer i) |
static RecurrenceDayOfWeek |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecurrenceDayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecurrenceDayOfWeek SU
public static final RecurrenceDayOfWeek MO
public static final RecurrenceDayOfWeek TU
public static final RecurrenceDayOfWeek WE
public static final RecurrenceDayOfWeek TH
public static final RecurrenceDayOfWeek FR
public static final RecurrenceDayOfWeek SA
public static RecurrenceDayOfWeek[] values()
for (RecurrenceDayOfWeek c : RecurrenceDayOfWeek.values()) System.out.println(c);
public static RecurrenceDayOfWeek valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int asInt()
public static int dayOfWeekToInt(int i)
public static int asInt(java.util.Set<RecurrenceDayOfWeek> dayOfWeek)
public static java.util.Set<RecurrenceDayOfWeek> fromInt(java.lang.Integer i)
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.