API Reference
Class
BankedResetExpiry
Converts an explicitly entered local expiry date to its last valid instant.
Inheritance
- Object
- BankedResetExpiry
Methods
public static DateTimeOffset ResolveLocalDateEnd(DateTime date, TimeZoneInfo timeZone) #Returns:
DateTimeOffsetResolves the final tick of the date in the supplied zone. For a repeated local time, uses its last occurrence; for a skipped end of day, locates the last valid tick. A date skipped in its entirety is rejected instead of inventing an expiry on another date.
Parameters
- date System.DateTime
- timeZone System.TimeZoneInfo