ITimeZoneFactoryListCommonLocalizedNamesAsync Method
Lists the curated set of "most common" time zones for the application's user base,
with each zone's localized display name and current UTC offset.
Namespace: InnerDrive.TimeZonesAssembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.3.9728.0
Task<IReadOnlyList<LocalizedZoneName>> ListCommonLocalizedNamesAsync(
CultureInfo? culture = null,
TimeZoneNameStyle style = TimeZoneNameStyle.Location,
CancellationToken cancellationToken = default
)
- culture CultureInfo (Optional)
- The culture to resolve display names for. If null,
CurrentUICulture is used.
- style TimeZoneNameStyle (Optional)
- The TimeZoneNameStyle to resolve.
- cancellationToken CancellationToken (Optional)
- A CancellationToken
controlling the request lifetime
TaskIReadOnlyListLocalizedZoneNameThe zones named in the operator's configured common-zone list, canonicalized
and de-duplicated, in the order the operator configured them. An unset or empty
configuration returns an empty list.