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

NameSignatureSynopsis
IsMonthlythis.IsMonthlyNo description available.
IsDailyAtthis.IsDailyAtNo description available.
IsDailythis.IsDailyNo description available.
IsEverythis.IsEveryNo description available.
IsWeeklyAtthis.IsWeeklyAtNo description available.
IsWeeklythis.IsWeeklyNo description available.
DailyDaily(time, zone)Every day at a local time in a time zone.
WeeklyWeekly(days, time, zone)On the listed days of the week at a local time in a time zone.
EveryEvery intervalEvery interval, counted from the schedule's creation or last change.
DailyAtDailyAt(times, zone)Every day at each of the listed local times in a time zone.
WeeklyAtWeeklyAt(days, times, zone)On the listed days of the week at each of the listed local times in a time zone.
MonthlyMonthly(days, times, zone)On the listed days of each month at each of the listed local times in a time zone.

IsMonthly

this.IsMonthly
Member

Returns

bool

IsDailyAt

this.IsDailyAt
Member

Returns

bool

IsDaily

this.IsDaily
Member

Returns

bool

IsEvery

this.IsEvery
Member

Returns

bool

IsWeeklyAt

this.IsWeeklyAt
Member

Returns

bool

IsWeekly

this.IsWeekly
Member

Returns

bool

Daily

Daily(time, zone)
Member
Every day at a local time in a time zone. The zone is a time-zone ID such as "Europe/Oslo".

Parameters

NameTypeDescription
timeTimeOnly
zonestring

Returns

unit

Weekly

Weekly(days, time, zone)
Member
On the listed days of the week at a local time in a time zone.

Parameters

NameTypeDescription
daysDayOfWeek list
timeTimeOnly
zonestring

Returns

unit

Every

Every interval
Member
Every interval, counted from the schedule's creation or last change.

Parameters

NameTypeDescription
intervalTimeSpan

Returns

unit

DailyAt

DailyAt(times, zone)
Member
Every day at each of the listed local times in a time zone.

Parameters

NameTypeDescription
timesTimeOnly list
zonestring

Returns

unit

WeeklyAt

WeeklyAt(days, times, zone)
Member
On the listed days of the week at each of the listed local times in a time zone.

Parameters

NameTypeDescription
daysDayOfWeek list
timesTimeOnly list
zonestring

Returns

unit

Monthly

Monthly(days, times, zone)
Member
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

NameTypeDescription
daysMonthDay list
timesTimeOnly list
zonestring

Returns

unit