|
static DateTime | ConvertTime (DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags, CachedData cachedData) |
|
static DateTime | ConvertUtcToTimeZone (long ticks, TimeZoneInfo destinationTimeZone, out bool isAmbiguousLocalDst) |
|
static bool | GetIsDaylightSavings (DateTime time, AdjustmentRule rule, DaylightTimeStruct daylightTime) |
|
static TimeSpan | GetDaylightSavingsEndOffsetFromUtc (TimeSpan baseUtcOffset, AdjustmentRule rule) |
|
static bool | GetIsDaylightSavingsFromUtc (DateTime time, int year, TimeSpan utc, AdjustmentRule rule, int? ruleIndex, out bool isAmbiguousLocalDst, TimeZoneInfo zone) |
|
static bool | CheckIsDst (DateTime startTime, DateTime time, DateTime endTime, bool ignoreYearAdjustment, AdjustmentRule rule) |
|
static bool | GetIsAmbiguousTime (DateTime time, AdjustmentRule rule, DaylightTimeStruct daylightTime) |
|
static bool | GetIsInvalidTime (DateTime time, AdjustmentRule rule, DaylightTimeStruct daylightTime) |
|
static TimeSpan | GetUtcOffset (DateTime time, TimeZoneInfo zone) |
|
static TimeSpan | GetUtcOffsetFromUtc (DateTime time, TimeZoneInfo zone) |
|
static TimeSpan | GetUtcOffsetFromUtc (DateTime time, TimeZoneInfo zone, out bool isDaylightSavings) |
|
static TimeZoneInfoResult | TryGetTimeZone (string id, bool dstDisabled, out TimeZoneInfo value, out Exception e, CachedData cachedData, bool alwaysFallbackToLocalMachine=false) |
|
static TimeZoneInfoResult | TryGetTimeZoneUsingId (string id, bool dstDisabled, out TimeZoneInfo value, out Exception e, CachedData cachedData, bool alwaysFallbackToLocalMachine) |
|
static TimeZoneInfoResult | TryGetTimeZoneFromLocalMachine (string id, bool dstDisabled, out TimeZoneInfo value, out Exception e, CachedData cachedData) |
|
static void | ValidateTimeZoneInfo (string id, TimeSpan baseUtcOffset, AdjustmentRule[] adjustmentRules, out bool adjustmentRulesSupportDst) |
|
static TimeSpan | GetUtcOffset (TimeSpan baseUtcOffset, AdjustmentRule adjustmentRule) |
|
static bool | IsValidAdjustmentRuleOffset (TimeSpan baseUtcOffset, AdjustmentRule adjustmentRule) |
|
static TimeZoneInfo | CreateUtcTimeZone () |
|
static unsafe bool | TryConvertIanaIdToWindowsId (string ianaId, bool allocate, out string windowsId) |
|
static unsafe bool | TryConvertWindowsIdToIanaId (string windowsId, string region, bool allocate, out string ianaId) |
|
static void | PopulateAllSystemTimeZones (CachedData cachedData) |
|
static string | GetAlternativeId (string id, out bool idIsIana) |
|
static bool | CheckDaylightSavingTimeNotSupported (in Interop.Kernel32.TIME_ZONE_INFORMATION timeZone) |
|
static AdjustmentRule | CreateAdjustmentRuleFromTimeZoneInformation (in Interop.Kernel32.REG_TZI_FORMAT timeZoneInformation, DateTime startDate, DateTime endDate, int defaultBaseUtcOffset) |
|
static string | FindIdFromTimeZoneInformation (in Interop.Kernel32.TIME_ZONE_INFORMATION timeZone, out bool dstDisabled) |
|
static TimeZoneInfo | GetLocalTimeZone (CachedData cachedData) |
|
static TimeZoneInfo | GetLocalTimeZoneFromWin32Data (in Interop.Kernel32.TIME_ZONE_INFORMATION timeZoneInformation, bool dstDisabled) |
|
static bool | TransitionTimeFromTimeZoneInformation (in Interop.Kernel32.REG_TZI_FORMAT timeZoneInformation, out TransitionTime transitionTime, bool readStartDate) |
|
static bool | TryCreateAdjustmentRules (string id, in Interop.Kernel32.REG_TZI_FORMAT defaultTimeZoneInformation, out AdjustmentRule[] rules, out Exception e, int defaultBaseUtcOffset) |
|
static unsafe bool | TryGetTimeZoneEntryFromRegistry (RegistryKey key, string name, out Interop.Kernel32.REG_TZI_FORMAT dtzi) |
|
static bool | TryCompareStandardDate (in Interop.Kernel32.TIME_ZONE_INFORMATION timeZone, in Interop.Kernel32.REG_TZI_FORMAT registryTimeZoneInfo) |
|
static bool | TryCompareTimeZoneInformationToRegistry (in Interop.Kernel32.TIME_ZONE_INFORMATION timeZone, string id, out bool dstDisabled) |
|
static string | GetLocalizedNameByMuiNativeResource (string resource) |
|
static unsafe string | GetLocalizedNameByNativeResource (string filePath, int resource) |
|
static void | GetLocalizedNamesByRegistryKey (RegistryKey key, out string displayName, out string standardName, out string daylightName) |
|
static TimeZoneInfoResult | TryGetTimeZoneFromLocalMachine (string id, out TimeZoneInfo value, out Exception e) |
|
static string | GetUtcStandardDisplayName () |
|
static string | GetUtcFullDisplayName (string timeZoneId, string standardDisplayName) |
|
Definition at line 16 of file TimeZoneInfo.cs.