MonthDayUnion
PackageFCQRS.Workflows
A day of the month for `ScheduleRule.Monthly`, written `MonthDay.Day 15`, `MonthDay.LastDay`,
`MonthDay.Nth(3, DayOfWeek.Wednesday)` or `MonthDay.Last DayOfWeek.Thursday`. Stored in the
schedule's journal, so its cases and fields are a persistent contract.
Specification
Kind
Union
Members
8
Examples
0
IsLastSignature
this.IsLast
IsNthSignature
this.IsNth
IsLastDaySignature
this.IsLastDay
IsDaySignature
this.IsDay
DaySignature
Day day
Summary
| Name | Signature | Synopsis |
|---|---|---|
| IsLast | this.IsLast | No description available. |
| IsNth | this.IsNth | No description available. |
| IsLastDay | this.IsLastDay | No description available. |
| IsDay | this.IsDay | No description available. |
| Day | Day day | The day with this number, from 1 to 31. |
| LastDay | LastDay | The month's last day. |
| Nth | Nth(n, weekday) | The nth such weekday of the month, `n` from 1 to 4. |
| Last | Last weekday | The month's last such weekday. |
The day with this number, from 1 to 31. A month without it runs on its last day, so `Day 31`
runs on 30 April and on 28 or 29 February.
Parameters
| Name | Type | Description |
|---|---|---|
| day | int |
Returns
unit
The nth such weekday of the month, `n` from 1 to 4. `Last` covers a fifth one.
Parameters
| Name | Type | Description |
|---|---|---|
| n | int | |
| weekday | DayOfWeek |
Returns
unit