Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetCurrentOneYearLocal()

static TimeZoneInfo System.TimeZoneInfo.CachedData.GetCurrentOneYearLocal ( )
inlinestaticprivate

Definition at line 279 of file TimeZoneInfo.cs.

280 {
283 if (timeZoneInformation != uint.MaxValue)
284 {
286 }
287 return CreateCustomTimeZone("Local", TimeSpan.Zero, "Local", "Local");
288 }
static uint GetTimeZoneInformation(out TIME_ZONE_INFORMATION lpTimeZoneInformation)
static TimeZoneInfo GetLocalTimeZoneFromWin32Data(in Interop.Kernel32.TIME_ZONE_INFORMATION timeZoneInformation, bool dstDisabled)
static TimeZoneInfo CreateCustomTimeZone(string id, TimeSpan baseUtcOffset, string? displayName, string? standardDisplayName)

References System.TimeZoneInfo.CreateCustomTimeZone(), System.Runtime.Serialization.Dictionary, System.TimeZoneInfo.GetLocalTimeZoneFromWin32Data(), Interop.Kernel32.GetTimeZoneInformation(), and System.TimeSpan.Zero.

Referenced by System.TimeZoneInfo.CachedData.GetOneYearLocalFromUtc().