|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Weekday>
de.unikassel.android.sdcframework.data.Weekday
public enum Weekday
Weekday enumeration.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface android.os.Parcelable |
---|
Parcelable.Creator<T> |
Enum Constant Summary | |
---|---|
Friday
Friday. |
|
Monday
Monday. |
|
Saturday
Saturday. |
|
Sunday
Sunday. |
|
Thursday
Thursday. |
|
Tuesday
Tuesday. |
|
Wednesday
Wednesday. |
Field Summary | |
---|---|
static Parcelable.Creator<Weekday> |
CREATOR
The Parcelable creator. |
Fields inherited from interface android.os.Parcelable |
---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Method Summary | |
---|---|
int |
describeContents()
|
static Weekday |
next(Weekday current)
Method to determine the next Weekday after a given one. |
static Weekday |
valueOf(Calendar date)
Method to determine the Weekday of a given calendar date. |
static Weekday |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Weekday |
valueOfOrdinal(int ordinal)
Method to determine the Weekday for a given ordinal. |
static Weekday[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
writeToParcel(Parcel dest,
int flags)
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Weekday Monday
public static final Weekday Tuesday
public static final Weekday Wednesday
public static final Weekday Thursday
public static final Weekday Friday
public static final Weekday Saturday
public static final Weekday Sunday
Field Detail |
---|
public static final Parcelable.Creator<Weekday> CREATOR
Method Detail |
---|
public static Weekday[] values()
for (Weekday c : Weekday.values()) System.out.println(c);
public static Weekday valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Weekday valueOfOrdinal(int ordinal)
ordinal
- the ordinal value
public static Weekday next(Weekday current)
current
- the current Weekday
public static Weekday valueOf(Calendar date)
date
- the calendar date value
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public int describeContents()
describeContents
in interface Parcelable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |