Uses of Enum Class
javax.time.calendar.DayOfWeek
Packages that use DayOfWeek
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
Provides classes to implement time-zones and their rules.
Provides classes representing dates and times in alternate calendar systems.
-
Uses of DayOfWeek in javax.time.calendar
Subclasses with type arguments of type DayOfWeek in javax.time.calendarModifier and TypeClassDescriptionenumA day-of-week, such as 'Tuesday'.(package private) static final classRule implementation.Fields in javax.time.calendar declared as DayOfWeekModifier and TypeFieldDescriptionprivate final DayOfWeekCalendricalMatchers.DayOfWeekInMonth.dayOfWeekThe day-of-week.private final DayOfWeekDateAdjusters.DayOfWeekInMonth.dayOfWeekThe day-of-week.private final DayOfWeekDateAdjusters.RelativeDayOfWeek.dowThe day-of-week to find.Fields in javax.time.calendar with type parameters of type DayOfWeekModifier and TypeFieldDescription(package private) static final DateTimeFieldRule<DayOfWeek> ISOChronology.DayOfWeekRule.INSTANCESingleton instance.Methods in javax.time.calendar that return DayOfWeekModifier and TypeMethodDescriptionISOChronology.DayOfWeekRule.convertIntToValue(int value) protected DayOfWeekISOChronology.DayOfWeekRule.derive(Calendrical calendrical) static DayOfWeekDayOfWeek.firstDayOfWeekFor(Locale locale) Returns theDayOfWeekinstance that corresponds to the first day-of-week for a givenlocale.LocalDate.getDayOfWeek()Gets the day-of-week field, which is an enumDayOfWeek.LocalDateTime.getDayOfWeek()Gets the day-of-week field, which is an enumDayOfWeek.OffsetDate.getDayOfWeek()Gets the day-of-week field, which is an enumDayOfWeek.OffsetDateTime.getDayOfWeek()Gets the day-of-week field, which is an enumDayOfWeek.ZonedDateTime.getDayOfWeek()Gets the day-of-week field, which is an enumDayOfWeek.(package private) static DayOfWeekISOChronology.getDayOfWeekFromDate(LocalDate date) Calculates the day-of-week from a date.protected DayOfWeekISOChronology.DayOfWeekRule.interpret(CalendricalMerger merger, Object value) DayOfWeek.next()Gets the next day-of-week.static DayOfWeekDayOfWeek.of(int dayOfWeek) Obtains an instance ofDayOfWeekfrom anintvalue.DayOfWeek.previous()Gets the previous day-of-week.DayOfWeek.roll(int days) Rolls the day-of-week, adding the specified number of days.static DayOfWeekReturns the enum constant of this class with the specified name.static DayOfWeek[]DayOfWeek.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in javax.time.calendar that return types with arguments of type DayOfWeekModifier and TypeMethodDescriptionstatic DateTimeFieldRule<DayOfWeek> ISOChronology.dayOfWeekRule()Gets the rule for the day-of-week field.Methods in javax.time.calendar with parameters of type DayOfWeekModifier and TypeMethodDescriptionintISOChronology.DayOfWeekRule.convertValueToInt(DayOfWeek value) static CalendricalMatcherCalendricalMatchers.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 DateAdjusterDateAdjusters.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 CalendricalMatcherCalendricalMatchers.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 DateAdjusterDateAdjusters.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 DateAdjusterReturns 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 DateAdjusterDateAdjusters.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 DateAdjusterReturns 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 DateAdjusterDateAdjusters.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 DayOfWeekModifierConstructorDescriptionprivateDayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek) Constructor.privateDayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek) Constructor.privateRelativeDayOfWeek(int relative, DayOfWeek dow) -
Uses of DayOfWeek in javax.time.calendar.zone
Fields in javax.time.calendar.zone declared as DayOfWeekModifier and TypeFieldDescription(package private) DayOfWeekTZDBZoneRulesCompiler.TZDBMonthDayTime.dayOfWeekThe day-of-week of the cutover.private DayOfWeekZoneRulesBuilder.TZRule.dayOfWeekThe day-of-month.private final DayOfWeekZoneOffsetTransitionRule.dowThe cutover day-of-week, null to retain the day-of-month.Methods in javax.time.calendar.zone that return DayOfWeekModifier and TypeMethodDescriptionZoneOffsetTransitionRule.getDayOfWeek()Gets the day-of-week of the transition.private DayOfWeekTZDBZoneRulesCompiler.parseDayOfWeek(String str) Methods in javax.time.calendar.zone with parameters of type DayOfWeekModifier and TypeMethodDescription(package private) voidZoneRulesBuilder.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.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 ZoneOffsetTransitionRuleZoneOffsetTransitionRule.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 DayOfWeekModifierConstructorDescription(package private)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
Subclasses with type arguments of type DayOfWeek in javax.time.i18nModifier and TypeClassDescriptionprivate static final classRule implementation.private static final classRule implementation.Fields in javax.time.i18n with type parameters of type DayOfWeekModifier and TypeFieldDescriptionprivate static final DateTimeFieldRule<DayOfWeek> CopticChronology.DayOfWeekRule.INSTANCESingleton instance.Methods in javax.time.i18n that return DayOfWeekModifier and TypeMethodDescriptionprotected DayOfWeekCopticChronology.DayOfWeekRule.derive(Calendrical calendrical) protected DayOfWeekHistoricChronology.DayOfWeekRule.derive(Calendrical calendrical) CopticDate.getDayOfWeek()Gets the day-of-week field, which is an enumDayOfWeek.HistoricDate.getDayOfWeek()Gets the historic day-of-week.Methods in javax.time.i18n that return types with arguments of type DayOfWeekModifier and TypeMethodDescriptionstatic DateTimeFieldRule<DayOfWeek> CopticChronology.dayOfWeekRule()Gets the rule for the day-of-week field in the Coptic chronology.HistoricChronology.dayOfWeekRule()Gets the rule for the day-of-week field in the Historic chronology.