Package org.exparity.hamcrest.date
Enum Weekdays
- java.lang.Object
-
- java.lang.Enum<Weekdays>
-
- org.exparity.hamcrest.date.Weekdays
-
- All Implemented Interfaces:
Serializable,Comparable<Weekdays>
public enum Weekdays extends Enum<Weekdays>
Deprecated.UseDayOfWeekEnumeration of days in a week- Author:
- Stewart Bissett
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringdescribe()Deprecated.intgetAsCalendarConstant()Deprecated.DayOfWeekgetAsDayOfWeek()Deprecated.static WeekdaysvalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static Weekdays[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MONDAY
public static final Weekdays MONDAY
Deprecated.
-
TUESDAY
public static final Weekdays TUESDAY
Deprecated.
-
WEDNESDAY
public static final Weekdays WEDNESDAY
Deprecated.
-
THURSDAY
public static final Weekdays THURSDAY
Deprecated.
-
FRIDAY
public static final Weekdays FRIDAY
Deprecated.
-
SATURDAY
public static final Weekdays SATURDAY
Deprecated.
-
SUNDAY
public static final Weekdays SUNDAY
Deprecated.
-
-
Method Detail
-
values
public static Weekdays[] values()
Deprecated.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 (Weekdays c : Weekdays.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Weekdays valueOf(String name)
Deprecated.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getAsCalendarConstant
public int getAsCalendarConstant()
Deprecated.
-
describe
public String describe()
Deprecated.
-
getAsDayOfWeek
public DayOfWeek getAsDayOfWeek()
Deprecated.
-
-