Method ToScheduleLocalDateTime
ToScheduleLocalDateTime(IPrimeTime, ZonedDateTime)
Converts a NodaTime.ZonedDateTime to the local wall-clock NodaTime.LocalDateTime in the receiver's LocalScheduleDateTimeZone.
public static LocalDateTime ToScheduleLocalDateTime(this IPrimeTime time, ZonedDateTime zonedDateTime)
Parameters
timeIPrimeTimezonedDateTimeZonedDateTimeA zoned value in any zone; only its instant is used.
Returns
- LocalDateTime
Local date and time in the schedule zone.
Exceptions
- ArgumentNullException
timeis null.- ArgumentException
timeis not an IPrimeClock and the schedule zone cannot be resolved.