ScheduleRuleUnion
PackageFCQRS.Workflows
When a schedule is due, written `ScheduleRule.Daily`, `ScheduleRule.Weekly`, `ScheduleRule.Every`,
`ScheduleRule.DailyAt`, `ScheduleRule.WeeklyAt` or `ScheduleRule.Monthly`. A rule is stored in the
schedule's journal, so its cases and fields are a persistent contract.
Specification
Kind
Union
Members
12
Examples
0
IsMonthlySignature
this.IsMonthly
IsDailyAtSignature
this.IsDailyAt
IsDailySignature
this.IsDaily
IsEverySignature
this.IsEvery
IsWeeklyAtSignature
this.IsWeeklyAt
Summary
| Name | Signature | Synopsis |
|---|---|---|
| IsMonthly | this.IsMonthly | No description available. |
| IsDailyAt | this.IsDailyAt | No description available. |
| IsDaily | this.IsDaily | No description available. |
| IsEvery | this.IsEvery | No description available. |
| IsWeeklyAt | this.IsWeeklyAt | No description available. |
| IsWeekly | this.IsWeekly | No description available. |
| Daily | Daily(time, zone) | Every day at a local time in a time zone. |
| Weekly | Weekly(days, time, zone) | On the listed days of the week at a local time in a time zone. |
| Every | Every interval | Every interval, counted from the schedule's creation or last change. |
| DailyAt | DailyAt(times, zone) | Every day at each of the listed local times in a time zone. |
| WeeklyAt | WeeklyAt(days, times, zone) | On the listed days of the week at each of the listed local times in a time zone. |
| Monthly | Monthly(days, times, zone) | On the listed days of each month at each of the listed local times in a time zone. |
Every day at a local time in a time zone. The zone is a time-zone ID such as "Europe/Oslo".
Parameters
| Name | Type | Description |
|---|---|---|
| time | TimeOnly | |
| zone | string |
Returns
unit
On the listed days of the week at a local time in a time zone.
Parameters
| Name | Type | Description |
|---|---|---|
| days | DayOfWeek list | |
| time | TimeOnly | |
| zone | string |
Returns
unit
Every interval, counted from the schedule's creation or last change.
Parameters
| Name | Type | Description |
|---|---|---|
| interval | TimeSpan |
Returns
unit
Every day at each of the listed local times in a time zone.
Parameters
| Name | Type | Description |
|---|---|---|
| times | TimeOnly list | |
| zone | string |
Returns
unit
On the listed days of the week at each of the listed local times in a time zone.
Parameters
| Name | Type | Description |
|---|---|---|
| days | DayOfWeek list | |
| times | TimeOnly list | |
| zone | string |
Returns
unit
On the listed days of each month at each of the listed local times in a time zone. The days
and times form one set of local date-times per month: a date-time that two entries name, such
as `Day 31` and `LastDay` in a 31-day month, is due once.
Parameters
| Name | Type | Description |
|---|---|---|
| days | MonthDay list | |
| times | TimeOnly list | |
| zone | string |
Returns
unit