Method Change
- Namespace
- KZDev.SystemClock.PrimeTime
- Assembly
- KZDev.SystemClock.PrimeTime.dll
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.