Uses of Class
javax.time.calendar.DayOfWeek
-
Packages that use DayOfWeek Package Description javax.time.calendar Provides classes to manage the human time scale including date, time, date-time and time-zone representations.javax.time.calendar.zone Provides classes to implement time-zones and their rules.javax.time.i18n Provides classes representing dates and times in alternate calendar systems. -
-
Uses of DayOfWeek in javax.time.calendar
Fields in javax.time.calendar declared as DayOfWeek Modifier and Type Field Description private DayOfWeek
CalendricalMatchers.DayOfWeekInMonth. dayOfWeek
The day-of-week.private DayOfWeek
DateAdjusters.DayOfWeekInMonth. dayOfWeek
The day-of-week.private DayOfWeek
DateAdjusters.RelativeDayOfWeek. dow
The day-of-week to find.Fields in javax.time.calendar with type parameters of type DayOfWeek Modifier and Type Field Description (package private) static DateTimeFieldRule<DayOfWeek>
ISOChronology.DayOfWeekRule. INSTANCE
Singleton instance.Methods in javax.time.calendar that return DayOfWeek Modifier and Type Method Description DayOfWeek
ISOChronology.DayOfWeekRule. convertIntToValue(int value)
protected DayOfWeek
ISOChronology.DayOfWeekRule. derive(Calendrical calendrical)
static DayOfWeek
DayOfWeek. firstDayOfWeekFor(java.util.Locale locale)
Returns theDayOfWeek
instance that corresponds to the first day-of-week for a givenlocale
.DayOfWeek
LocalDate. getDayOfWeek()
Gets the day-of-week field, which is an enumDayOfWeek
.DayOfWeek
LocalDateTime. getDayOfWeek()
Gets the day-of-week field, which is an enumDayOfWeek
.DayOfWeek
OffsetDate. getDayOfWeek()
Gets the day-of-week field, which is an enumDayOfWeek
.DayOfWeek
OffsetDateTime. getDayOfWeek()
Gets the day-of-week field, which is an enumDayOfWeek
.DayOfWeek
ZonedDateTime. getDayOfWeek()
Gets the day-of-week field, which is an enumDayOfWeek
.(package private) static DayOfWeek
ISOChronology. getDayOfWeekFromDate(LocalDate date)
Calculates the day-of-week from a date.protected DayOfWeek
ISOChronology.DayOfWeekRule. interpret(CalendricalMerger merger, java.lang.Object value)
DayOfWeek
DayOfWeek. next()
Gets the next day-of-week.static DayOfWeek
DayOfWeek. of(int dayOfWeek)
Obtains an instance ofDayOfWeek
from anint
value.DayOfWeek
DayOfWeek. previous()
Gets the previous day-of-week.DayOfWeek
DayOfWeek. roll(int days)
Rolls the day-of-week, adding the specified number of days.static DayOfWeek
DayOfWeek. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DayOfWeek[]
DayOfWeek. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in javax.time.calendar that return types with arguments of type DayOfWeek Modifier and Type Method Description static DateTimeFieldRule<DayOfWeek>
ISOChronology. dayOfWeekRule()
Gets the rule for the day-of-week field.Methods in javax.time.calendar with parameters of type DayOfWeek Modifier and Type Method Description int
ISOChronology.DayOfWeekRule. convertValueToInt(DayOfWeek value)
static CalendricalMatcher
CalendricalMatchers. dayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)
Returns the day-of-week in month matcher, which returns true if the date is the ordinal occurrence of the day-of-week in the month.static DateAdjuster
DateAdjusters. dayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)
Returns the day-of-week in month adjuster, which returns a new date in the same month with the ordinal day-of-week.static CalendricalMatcher
CalendricalMatchers. firstInMonth(DayOfWeek dayOfWeek)
Returns the first in month matcher, which returns true if the date is the first occurrence of day-of-week in the month.static DateAdjuster
DateAdjusters. firstInMonth(DayOfWeek dayOfWeek)
Returns the first in month adjuster, which returns a new date in the same month with the first matching day-of-week.static DateAdjuster
DateAdjusters. next(DayOfWeek dow)
Returns the next day-of-week adjuster, which adjusts the date to be the next of the specified day-of-week after the specified date.static DateAdjuster
DateAdjusters. nextOrCurrent(DayOfWeek dow)
Returns the next or current day-of-week adjuster, which adjusts the date to be be the next of the specified day-of-week, returning the input date if the day-of-week matched.static DateAdjuster
DateAdjusters. previous(DayOfWeek dow)
Returns the previous day-of-week adjuster, which adjusts the date to be the previous of the specified day-of-week after the specified date.static DateAdjuster
DateAdjusters. previousOrCurrent(DayOfWeek dow)
Returns the previous or current day-of-week adjuster, which adjusts the date to be be the previous of the specified day-of-week, returning the input date if the day-of-week matched.Constructors in javax.time.calendar with parameters of type DayOfWeek Constructor Description DayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)
Constructor.DayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)
Constructor.RelativeDayOfWeek(int relative, DayOfWeek dow)
-
Uses of DayOfWeek in javax.time.calendar.zone
Fields in javax.time.calendar.zone declared as DayOfWeek Modifier and Type Field Description (package private) DayOfWeek
TZDBZoneRulesCompiler.TZDBMonthDayTime. dayOfWeek
The day-of-week of the cutover.private DayOfWeek
ZoneRulesBuilder.TZRule. dayOfWeek
The day-of-month.private DayOfWeek
ZoneOffsetTransitionRule. dow
The cutover day-of-week, null to retain the day-of-month.Methods in javax.time.calendar.zone that return DayOfWeek Modifier and Type Method Description DayOfWeek
ZoneOffsetTransitionRule. getDayOfWeek()
Gets the day-of-week of the transition.private DayOfWeek
TZDBZoneRulesCompiler. parseDayOfWeek(java.lang.String str)
Methods in javax.time.calendar.zone with parameters of type DayOfWeek Modifier and Type Method Description (package private) void
ZoneRulesBuilder.TZWindow. addRule(int startYear, int endYear, MonthOfYear month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneRulesBuilder.TimeDefinition timeDefinition, Period savingAmount)
Adds a rule to the current window.ZoneRulesBuilder
ZoneRulesBuilder. addRuleToWindow(int startYear, int endYear, MonthOfYear month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneRulesBuilder.TimeDefinition timeDefinition, Period savingAmount)
Adds a multi-year transition rule to the current window.static ZoneOffsetTransitionRule
ZoneOffsetTransitionRule. of(MonthOfYear month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneRulesBuilder.TimeDefinition timeDefnition, ZoneOffset standardOffset, ZoneOffset offsetBefore, ZoneOffset offsetAfter)
Creates an instance defining the yearly rule to create transitions between two offsets.Constructors in javax.time.calendar.zone with parameters of type DayOfWeek Constructor Description TZRule(int year, MonthOfYear month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneRulesBuilder.TimeDefinition timeDefinition, Period savingAfter)
Constructor.ZoneOffsetTransitionRule(MonthOfYear month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneRulesBuilder.TimeDefinition timeDefnition, ZoneOffset standardOffset, ZoneOffset offsetBefore, ZoneOffset offsetAfter)
Creates an instance defining the yearly rule to create transitions between two offsets. -
Uses of DayOfWeek in javax.time.i18n
Fields in javax.time.i18n with type parameters of type DayOfWeek Modifier and Type Field Description private static DateTimeFieldRule<DayOfWeek>
CopticChronology.DayOfWeekRule. INSTANCE
Singleton instance.Methods in javax.time.i18n that return DayOfWeek Modifier and Type Method Description protected DayOfWeek
CopticChronology.DayOfWeekRule. derive(Calendrical calendrical)
protected DayOfWeek
HistoricChronology.DayOfWeekRule. derive(Calendrical calendrical)
DayOfWeek
CopticDate. getDayOfWeek()
Gets the day-of-week field, which is an enumDayOfWeek
.DayOfWeek
HistoricDate. getDayOfWeek()
Gets the historic day-of-week.Methods in javax.time.i18n that return types with arguments of type DayOfWeek Modifier and Type Method Description static DateTimeFieldRule<DayOfWeek>
CopticChronology. dayOfWeekRule()
Gets the rule for the day-of-week field in the Coptic chronology.DateTimeFieldRule<DayOfWeek>
HistoricChronology. dayOfWeekRule()
Gets the rule for the day-of-week field in the Historic chronology.
-