public static enum Calendar.Type extends Enum<Calendar.Type>
| Modifier and Type | Method and Description |
|---|---|
static Calendar.Type |
getType(int type) |
int |
type() |
static Calendar.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Calendar.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Calendar.Type PERSONAL
public static final Calendar.Type SHARED
public static final Calendar.Type GROUP
public static final Calendar.Type UNDEFINED
public static Calendar.Type[] values()
for (Calendar.Type c : Calendar.Type.values()) System.out.println(c);
public static Calendar.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int type()
public static Calendar.Type getType(int type)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.