Table of Contents

Method Change

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

Change(LocalTime)

Changes the time of day at which this registration fires (NodaTime NodaTime.LocalTime overload; local semantic day-time registrations).

bool Change(LocalTime targetTimeOfDay)

Parameters

targetTimeOfDay LocalTime

The new local time of day for the next and subsequent triggers.

Returns

bool

true if the change was applied; false if the registration was cancelled, disposed, or otherwise invalid.

Change(LocalTimeOfDay)

Changes the target local time of day for this registration.

bool Change(LocalTimeOfDay newTimeOfDay)

Parameters

newTimeOfDay LocalTimeOfDay

The new local time of day at which to fire.

Returns

bool

true if this is a local time-of-day registration and the change was applied; false if this is a UTC time-of-day registration, or the registration was cancelled, disposed, or otherwise invalid.

Remarks

Only supported in .NET 8+. Not supported in NetStandard 2.0.

Change(UtcTimeOfDay)

Changes the target UTC time of day for this registration.

bool Change(UtcTimeOfDay newTimeOfDay)

Parameters

newTimeOfDay UtcTimeOfDay

The new UTC time of day at which to fire.

Returns

bool

true if this is a UTC time-of-day registration and the change was applied; false if this is a local time-of-day registration, or the registration was cancelled, disposed, or otherwise invalid.

Remarks

Only supported in .NET 8+. Not supported in NetStandard 2.0.