Skip to content

TimeIntervalBuilder🔗

Constructor🔗

func NewTimeIntervalBuilder() *TimeIntervalBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *TimeIntervalBuilder) Build() (TimeInterval, error)

DaysOfMonth🔗

func (builder *TimeIntervalBuilder) DaysOfMonth(daysOfMonth []cog.Builder[alerting.DayOfMonthRange]) *TimeIntervalBuilder

Location🔗

func (builder *TimeIntervalBuilder) Location(location alerting.Location) *TimeIntervalBuilder

Months🔗

func (builder *TimeIntervalBuilder) Months(months []cog.Builder[alerting.MonthRange]) *TimeIntervalBuilder

Times🔗

func (builder *TimeIntervalBuilder) Times(times []cog.Builder[alerting.TimeRange]) *TimeIntervalBuilder

Weekdays🔗

func (builder *TimeIntervalBuilder) Weekdays(weekdays []cog.Builder[alerting.WeekdayRange]) *TimeIntervalBuilder

Years🔗

func (builder *TimeIntervalBuilder) Years(years []cog.Builder[alerting.YearRange]) *TimeIntervalBuilder

See also🔗