WeekDayOfMonth class
Represents one week day in a month. An example is "the 4th Sunday".
Constructors
-
WeekDayOfMonth({required Input<
WeekDayOfMonthDayOfWeek> dayOfWeek, Input<int> ? dayOffset, required Input<int> weekOrdinal}) -
Creates a new WeekDayOfMonth.
dayOfWeekA day of the week.dayOffsetOptional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example ifweek_ordinalandday_of_weekvalues point to the second day of the month and thisday_offsetvalue is set to3, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range-30, 30.weekOrdinalWeek number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.const -
WeekDayOfMonth.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dayOffset
→ Input<
int> ? -
Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if
week_ordinalandday_of_weekvalues point to the second day of the month and thisday_offsetvalue is set to3, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range-30, 30.final -
dayOfWeek
→ Input<
WeekDayOfMonthDayOfWeek> -
A day of the week.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weekOrdinal
→ Input<
int> -
Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited