Method Change
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
targetTimeOfDayLocalTimeThe new local time of day for the next and subsequent triggers.
Returns
- bool
trueif the change was applied;falseif 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
newTimeOfDayLocalTimeOfDayThe new local time of day at which to fire.
Returns
- bool
trueif this is a local time-of-day registration and the change was applied;falseif 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
newTimeOfDayUtcTimeOfDayThe new UTC time of day at which to fire.
Returns
- bool
trueif this is a UTC time-of-day registration and the change was applied;falseif 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.