| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final WeekDay. | |
| public static final WeekDay | FR
Friday. |
| public static final WeekDay | MO
Monday. |
| private final int | |
| public static final WeekDay | SA
Saturday. |
| private static final long | |
| public static final WeekDay | SU
Sunday. |
| public static final WeekDay | TH
Thursday. |
| public static final WeekDay | TU
Tuesday. |
| public static final WeekDay | WE
Wednesday. |
| Access | Constructor and Description |
|---|---|
| public | |
| private | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(final Object
the reference object with which to compare. arg0)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static int | Returns: the correspondingjava.util.Calendar daya week day instance weekday)Returns the corresponding |
| public final WeekDay. | |
| public static WeekDay | Returns: a string, or null if an invalid DAY_OF_WEEK property is specifieda property value of java.util.Calendar.DAY_OF_WEEK calDay)Returns the corresponding day constant to the specified java.util.Calendar.DAY_OF_WEEK property. |
| public static DayOfWeek | |
| public static WeekDay | Returns: a weekday instance representing the specified calendara calendar (java.util) cal)Returns a weekday/offset representation of the specified calendar. |
| public static WeekDay | Returns: a weekday instance representing the specified calendara calendar (java.util) cal)Returns a weekday/negative offset representation of the specified calendar. |
| public final int | |
| public static WeekDay | |
| public static WeekDay | Returns: a weekday instance representing the specified calendara calendar (java.util) cal)Returns a weekday representation of the specified calendar. |
| public static WeekDay | Returns: a weekday instance representing the specified calendarday of the week dayOfWeek)Returns a weekday representation of the specified day of week. |
| public final int | |
| public final String |
| day | back to summary |
|---|---|
| private final WeekDay. | |
| FR | back to summary |
|---|---|
| public static final WeekDay FR Friday. | |
| MO | back to summary |
|---|---|
| public static final WeekDay MO Monday. | |
| offset | back to summary |
|---|---|
| private final int offset | |
| SA | back to summary |
|---|---|
| public static final WeekDay SA Saturday. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SU | back to summary |
|---|---|
| public static final WeekDay SU Sunday. | |
| TH | back to summary |
|---|---|
| public static final WeekDay TH Thursday. | |
| TU | back to summary |
|---|---|
| public static final WeekDay TU Tuesday. | |
| WE | back to summary |
|---|---|
| public static final WeekDay WE Wednesday. | |
| WeekDay | back to summary |
|---|---|
public WeekDay(final String value)
| |
| WeekDay | back to summary |
|---|---|
| private WeekDay(final WeekDay. | |
| WeekDay | back to summary |
|---|---|
| public WeekDay(final WeekDay weekDay, final int offset) Constructs a new weekday instance based on the specified instance and offset.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(final Object arg0) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCalendarDay | back to summary |
|---|---|
| public static int getCalendarDay(final WeekDay weekday) Returns the corresponding
| |
| getDay | back to summary |
|---|---|
| public final WeekDay. | |
| getDay | back to summary |
|---|---|
| public static WeekDay getDay(final int calDay) Returns the corresponding day constant to the specified java.util.Calendar.DAY_OF_WEEK property.
| |
| getDayOfWeek | back to summary |
|---|---|
| public static DayOfWeek getDayOfWeek(WeekDay weekday) | |
| getMonthlyOffset | back to summary |
|---|---|
| public static WeekDay getMonthlyOffset(final Calendar cal) Returns a weekday/offset representation of the specified calendar. | |
| getNegativeMonthlyOffset | back to summary |
|---|---|
| public static WeekDay getNegativeMonthlyOffset(final Calendar cal) Returns a weekday/negative offset representation of the specified calendar. | |
| getOffset | back to summary |
|---|---|
public final int getOffset()
| |
| getWeekDay | back to summary |
|---|---|
| public static WeekDay getWeekDay(WeekDay. | |
| getWeekDay | back to summary |
|---|---|
| public static WeekDay getWeekDay(final Calendar cal) Returns a weekday representation of the specified calendar. | |
| getWeekDay | back to summary |
|---|---|
| public static WeekDay getWeekDay(DayOfWeek dayOfWeek) Returns a weekday representation of the specified day of week. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final WeekDay. | |
| public static final WeekDay. | |
| public static final WeekDay. | |
| public static final WeekDay. | |
| public static final WeekDay. | |
| public static final WeekDay. | |
| public static final WeekDay. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static WeekDay. | |
| public static WeekDay. |
| FR | back to summary |
|---|---|
| public static final WeekDay. | |
| MO | back to summary |
|---|---|
| public static final WeekDay. | |
| SA | back to summary |
|---|---|
| public static final WeekDay. | |
| SU | back to summary |
|---|---|
| public static final WeekDay. | |
| TH | back to summary |
|---|---|
| public static final WeekDay. | |
| TU | back to summary |
|---|---|
| public static final WeekDay. | |
| WE | back to summary |
|---|---|
| public static final WeekDay. | |
| Day | back to summary |
|---|---|
| private Day() | |
| valueOf | back to summary |
|---|---|
| public static WeekDay. | |
| values | back to summary |
|---|---|
| public static WeekDay. | |