|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DayOfWeek | |
|---|---|
| com.programix.time | Various containers and tools for dealing with dates and times (including parsing and formatting). |
| Uses of DayOfWeek in com.programix.time |
|---|
| Fields in com.programix.time declared as DayOfWeek | |
|---|---|
static DayOfWeek |
DayOfWeek.FRIDAY
The day of the week called Friday. |
static DayOfWeek |
DayOfWeek.MONDAY
The day of the week called Monday. |
static DayOfWeek |
DayOfWeek.SATURDAY
The day of the week called Saturday. |
static DayOfWeek |
DayOfWeek.SUNDAY
The day of the week called Sunday. |
static DayOfWeek |
DayOfWeek.THURSDAY
The day of the week called Thursday. |
static DayOfWeek |
DayOfWeek.TUESDAY
The day of the week called Tuesday. |
static DayOfWeek |
DayOfWeek.WEDNESDAY
The day of the week called Wednesday. |
| Fields in com.programix.time with type parameters of type DayOfWeek | |
|---|---|
static Comparator<DayOfWeek> |
DayOfWeek.MONDAY_TO_SUNDAY_COMPARATOR
Sorts as Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday with no protection against null's. |
static Comparator<DayOfWeek> |
DayOfWeek.MONDAY_TO_SUNDAY_NULL_FIRST_COMPARATOR
Sorts as null, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday (with any null's coming first). |
static Comparator<DayOfWeek> |
DayOfWeek.MONDAY_TO_SUNDAY_NULL_LAST_COMPARATOR
Sorts as Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, null (with any null's coming last). |
static Comparator<DayOfWeek> |
DayOfWeek.SATURDAY_TO_SUNDAY_COMPARATOR
Sorts as Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday with no protection against null's. |
static Comparator<DayOfWeek> |
DayOfWeek.SATURDAY_TO_SUNDAY_NULL_FIRST_COMPARATOR
Sorts as null, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday (with any null's coming first). |
static Comparator<DayOfWeek> |
DayOfWeek.SATURDAY_TO_SUNDAY_NULL_LAST_COMPARATOR
Sorts as Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday, null (with any null's coming last). |
static Comparator<DayOfWeek> |
DayOfWeek.SUNDAY_TO_MONDAY_COMPARATOR
Sorts as Sunday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday with no protection against null's. |
static Comparator<DayOfWeek> |
DayOfWeek.SUNDAY_TO_MONDAY_NULL_FIRST_COMPARATOR
Sorts as null, Sunday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday (with any null's coming first). |
static Comparator<DayOfWeek> |
DayOfWeek.SUNDAY_TO_MONDAY_NULL_LAST_COMPARATOR
Sorts as Sunday, Saturday, Friday, Thursday, Wednesday, Tuesday, Monday null (with any null's coming last). |
static Comparator<DayOfWeek> |
DayOfWeek.SUNDAY_TO_SATURDAY_COMPARATOR
Sorts as Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday with no protection against null's. |
static Comparator<DayOfWeek> |
DayOfWeek.SUNDAY_TO_SATURDAY_NULL_FIRST_COMPARATOR
Sorts as null, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday (with any null's coming first). |
static Comparator<DayOfWeek> |
DayOfWeek.SUNDAY_TO_SATURDAY_NULL_LAST_COMPARATOR
Sorts as Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, null (with any null's coming last). |
static List<DayOfWeek> |
DayOfWeek.VALUE_LIST
An unmodifiable List of all the instances of DayOfWeek. |
| Methods in com.programix.time that return DayOfWeek | |
|---|---|
static DayOfWeek |
DayOfWeek.convertFromCalendar(int calendarDayOfWeek)
Returns one of the DayOfWeek instances converted from the value from the "day of week" field of java.util.Calendar. |
DayOfWeek |
PlainDate.getDayOfWeek()
Returns the DayOfWeek for this date. |
static DayOfWeek |
DateTools.getDayOfWeek(int year,
int month,
int day)
|
static DayOfWeek[] |
DayOfWeek.getValues()
Returns an array of all the instances of DayOfWeek. |
static DayOfWeek |
DayOfWeek.valueOf(String name)
Returns the instance whose getName() method returns
a String that matches the name passed in. |
static DayOfWeek |
DayOfWeek.valueOfDisplayNameFull(String fullName)
Returns the instance whose getDisplayNameFull() method returns
a String that matches the name passed in. |
static DayOfWeek |
DayOfWeek.valueOfDisplayNameMedium(String mediumName)
Returns the instance whose getDisplayNameMedium()
method returns
a String that matches the name passed in. |
static DayOfWeek |
DayOfWeek.valueOfDisplayNameShort(String shortName)
Returns the instance whose getDisplayNameShort()
method returns
a String that matches the name passed in. |
| Methods in com.programix.time with parameters of type DayOfWeek | |
|---|---|
PlainDate |
PlainDate.addDaysUntil(DayOfWeek targetDayOfWeek)
Adds days (as needed) to roll this PlainDate forward until the specified targetDayOfWeek is matched. |
static PlainDate |
DateTools.addDaysUntil(PlainDate startDate,
DayOfWeek targetDayOfWeek)
Adds days (as needed) to roll the specified startDate forward until the specified targetDayOfWeek is matched. |
int |
DayOfWeek.compareTo(DayOfWeek other)
The "natural ordering" considers Sunday to be the first day of the week. |
int |
DayOfWeek.getDaysUntil(DayOfWeek target)
Returns the number of days from this day of the week until the specified target day of the week which is always in the range 0..6. |
PlainDate |
PlainDate.subtractDaysUntil(DayOfWeek targetDayOfWeek)
Subtracts days (as needed) to roll this PlainDate backward until the specified targetDayOfWeek is matched. |
static PlainDate |
DateTools.subtractDaysUntil(PlainDate startDate,
DayOfWeek targetDayOfWeek)
Subtracts days (as needed) to roll the specified startDate backward until the specified targetDayOfWeek is matched. |
|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||