IntelligenceX

API Reference

Class

BankedResetExpiry

Namespace IntelligenceX.Telemetry.Limits
Assembly IntelligenceX
Modifiers static

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: DateTimeOffset

Resolves 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 requiredposition: 0
timeZone System.TimeZoneInfo requiredposition: 1