Versions in this module Expand all Collapse all v1 v1.4.0 Dec 24, 2024 v1.3.0 Mar 26, 2024 Changes in this version + type GeoLocation struct + Latitude float64 + Longitude float64 + type NowParameter struct + Format *string + type OpTime struct + func (o *OpTime) IsDay(ctx *base.Context, input *base.OperatorIO, g GeoLocation) *base.OperatorIO + func (o *OpTime) IsNight(ctx *base.Context, input *base.OperatorIO, g GeoLocation) *base.OperatorIO + func (o *OpTime) IsTimeOfDay(ctx *base.Context, input *base.OperatorIO, t TimeOfDayParameter) *base.OperatorIO + func (o *OpTime) IsTimeOfYear(ctx *base.Context, input *base.OperatorIO, t TimeOfYearParameter) *base.OperatorIO + func (o *OpTime) Now(ctx *base.Context, input *base.OperatorIO, n NowParameter) *base.OperatorIO + func (o *OpTime) Sleep(ctx *base.Context, input *base.OperatorIO, s SleepParameter) *base.OperatorIO + func (o *OpTime) Sunrise(ctx *base.Context, input *base.OperatorIO, g GeoLocation) *base.OperatorIO + type SleepParameter struct + Duration time.Duration + type SunriseOutput struct + Begin time.Time + End time.Time + Latitude float64 + Longitude float64 + Phase string + Since time.Duration + Until time.Duration + type TimeOfDayParameter struct + EndHour int + EndMinute int + StartHour int + StartMinute int + type TimeOfYearParameter struct + EndDay int + EndMonth time.Month + StartDay int + StartMonth time.Month