terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.TimeZoneInfo Class Referencesealed
+ Inheritance diagram for System.TimeZoneInfo:
+ Collaboration diagram for System.TimeZoneInfo:

Classes

class  AdjustmentRule
 
class  CachedData
 
struct  TransitionTime
 
struct  TZifHead
 
struct  TZifType
 

Public Member Functions

global::System.TimeZoneInfo.AdjustmentRule[] GetAdjustmentRules ()
 
global::System.TimeSpan GetUtcOffset (global::System.DateTime dateTime)
 
bool Equals (global::System.TimeZoneInfo other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
bool HasSameRules (global::System.TimeZoneInfo other)
 
override string ToString ()
 

Static Public Member Functions

static global::System.TimeZoneInfo CreateCustomTimeZone (string id, global::System.TimeSpan baseUtcOffset, string displayName, string standardDisplayName)
 
static global::System.TimeZoneInfo CreateCustomTimeZone (string id, global::System.TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, global::System.TimeZoneInfo.AdjustmentRule[] adjustmentRules, bool disableDaylightSavingTime)
 

Package Functions

global::System.TimeSpan GetUtcOffset (global::System.DateTime dateTime, global::System.TimeZoneInfoOptions flags)
 
bool IsDaylightSavingTime (global::System.DateTime dateTime, global::System.TimeZoneInfoOptions flags)
 
 TimeZoneInfo ()
 

Static Package Functions

static global::System.TimeSpan GetDateTimeNowUtcOffsetFromUtc (global::System.DateTime time, out bool isAmbiguousLocalDst)
 
static global::System.TimeSpan GetLocalUtcOffset (global::System.DateTime dateTime, global::System.TimeZoneInfoOptions flags)
 
static global::System.DateTime ConvertTime (global::System.DateTime dateTime, global::System.TimeZoneInfo sourceTimeZone, global::System.TimeZoneInfo destinationTimeZone, global::System.TimeZoneInfoOptions flags)
 
static global::System.DateTime ConvertTimeToUtc (global::System.DateTime dateTime, global::System.TimeZoneInfoOptions flags)
 
static global::System.TimeSpan GetUtcOffsetFromUtc (global::System.DateTime time, global::System.TimeZoneInfo zone, out bool isDaylightSavings, out bool isAmbiguousLocalDst)
 
static global::System.DateTime TransitionTimeToDateTime (int year, global::System.TimeZoneInfo.TransitionTime transitionTime)
 
static bool UtcOffsetOutOfRange (global::System.TimeSpan offset)
 

Properties

string DisplayName [get, set]
 
string StandardName [get, set]
 
string DaylightName [get, set]
 
global::System.TimeSpan BaseUtcOffset [get, set]
 
bool SupportsDaylightSavingTime [get, set]
 
static global::System.TimeZoneInfo Local [get, set]
 
static global::System.TimeZoneInfo Utc [get, set]
 

Private Types

enum  TZVersion : byte { V1 , V2 , V3 }
 

Private Member Functions

 TimeZoneInfo (byte[] data, string id, bool dstDisabled)
 
global::System.TimeZoneInfo.AdjustmentRule GetPreviousAdjustmentRule (global::System.TimeZoneInfo.AdjustmentRule rule, int? ruleIndex)
 
global::System.TimeSpan GetUtcOffset (global::System.DateTime dateTime, global::System.TimeZoneInfoOptions flags, global::System.TimeZoneInfo.CachedData cachedData)
 
bool IsDaylightSavingTime (global::System.DateTime dateTime, global::System.TimeZoneInfoOptions flags, global::System.TimeZoneInfo.CachedData cachedData)
 
 TimeZoneInfo (string id, global::System.TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, global::System.TimeZoneInfo.AdjustmentRule[] adjustmentRules, bool disableDaylightSavingTime)
 
void System.Runtime.Serialization.IDeserializationCallback. OnDeserialization (object sender)
 
void System.Runtime.Serialization.ISerializable. GetObjectData (global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
 
 TimeZoneInfo (global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
 
global::System.TimeZoneInfo.AdjustmentRule GetAdjustmentRuleForTime (global::System.DateTime dateTime, out int? ruleIndex)
 
global::System.TimeZoneInfo.AdjustmentRule GetAdjustmentRuleForTime (global::System.DateTime dateTime, bool dateTimeisUtc, out int? ruleIndex)
 
int CompareAdjustmentRuleToDateTime (global::System.TimeZoneInfo.AdjustmentRule rule, global::System.TimeZoneInfo.AdjustmentRule previousRule, global::System.DateTime dateTime, global::System.DateTime dateOnly, bool dateTimeisUtc)
 
global::System.DateTime ConvertToUtc (global::System.DateTime dateTime, global::System.TimeSpan daylightDelta, global::System.TimeSpan baseUtcOffsetDelta)
 
global::System.DateTime ConvertFromUtc (global::System.DateTime dateTime, global::System.TimeSpan daylightDelta, global::System.TimeSpan baseUtcOffsetDelta)
 
global::System.DateTime ConvertToFromUtc (global::System.DateTime dateTime, global::System.TimeSpan daylightDelta, global::System.TimeSpan baseUtcOffsetDelta, bool convertToUtc)
 
global::System.Globalization.DaylightTimeStruct GetDaylightTime (int year, global::System.TimeZoneInfo.AdjustmentRule rule, int? ruleIndex)
 
global::System.TimeSpan GetDaylightSavingsStartOffsetFromUtc (global::System.TimeSpan baseUtcOffset, global::System.TimeZoneInfo.AdjustmentRule rule, int? ruleIndex)
 
global::System.TimeSpan GetDaylightSavingsEndOffsetFromUtc (global::System.TimeSpan baseUtcOffset, global::System.TimeZoneInfo.AdjustmentRule rule)
 

Static Private Member Functions

static global::System.TimeZoneInfo GetLocalTimeZone (global::System.TimeZoneInfo.CachedData cachedData)
 
static bool TryGetLocalTzFile (out byte[] rawData, out string id)
 
static string GetTzEnvironmentVariable ()
 
static bool TryLoadTzFile (string tzFilePath, ref byte[] rawData, ref string id)
 
static string FindTimeZoneIdUsingReadLink (string tzFilePath)
 
static string GetDirectoryEntryFullPath (ref global::Interop.Sys.DirectoryEntry dirent, string currentPath)
 
static unsafe void EnumerateFilesRecursively (string path, global::System.Predicate< string > condition)
 
static string FindTimeZoneId (byte[] rawData)
 
static bool CompareTimeZoneFile (string filePath, byte[] buffer, byte[] rawData)
 
static global::System.TimeZoneInfo GetLocalTimeZoneFromTzFile ()
 
static global::System.TimeZoneInfo GetTimeZoneFromTzData (byte[] rawData, string id)
 
static string GetTimeZoneDirectory ()
 
static void TZif_GenerateAdjustmentRules (out global::System.TimeZoneInfo.AdjustmentRule[] rules, global::System.TimeSpan baseUtcOffset, global::System.DateTime[] dts, byte[] typeOfLocalTime, global::System.TimeZoneInfo.TZifType[] transitionType, bool[] StandardTime, bool[] GmtTime, string futureTransitionsPosixFormat)
 
static void TZif_GenerateAdjustmentRule (ref int index, global::System.TimeSpan timeZoneBaseUtcOffset, global::System.Collections.Generic.List< global::System.TimeZoneInfo.AdjustmentRule > rulesList, global::System.DateTime[] dts, byte[] typeOfLocalTime, global::System.TimeZoneInfo.TZifType[] transitionTypes, bool[] StandardTime, bool[] GmtTime, string futureTransitionsPosixFormat)
 
static global::System.TimeSpan TZif_CalculateTransitionOffsetFromBase (global::System.TimeSpan transitionOffset, global::System.TimeSpan timeZoneBaseUtcOffset)
 
static global::System.TimeZoneInfo.TZifType TZif_GetEarlyDateTransitionType (global::System.TimeZoneInfo.TZifType[] transitionTypes)
 
static global::System.TimeZoneInfo.AdjustmentRule TZif_CreateAdjustmentRuleForPosixFormat (string posixFormat, global::System.DateTime startTransitionDate, global::System.TimeSpan timeZoneBaseUtcOffset)
 
static global::System.? TimeSpan TZif_ParseOffsetString (string offset)
 
static global::System.DateTime ParseTimeOfDay (string time)
 
static global::System.TimeZoneInfo.TransitionTime TZif_CreateTransitionTimeFromPosixRule (string date, string time)
 
static void TZif_ParseJulianDay (string date, out int month, out int day)
 
static bool TZif_ParseMDateRule (string dateRule, out int month, out int week, out global::System.DayOfWeek dayOfWeek)
 
static bool TZif_ParsePosixFormat (string posixFormat, out string standardName, out string standardOffset, out string daylightSavingsName, out string daylightSavingsOffset, out string start, out string startTime, out string end, out string endTime)
 
static string TZif_ParsePosixName (string posixFormat, ref int index)
 
static string TZif_ParsePosixOffset (string posixFormat, ref int index)
 
static void TZif_ParsePosixDateTime (string posixFormat, ref int index, out string date, out string time)
 
static string TZif_ParsePosixDate (string posixFormat, ref int index)
 
static string TZif_ParsePosixTime (string posixFormat, ref int index)
 
static string TZif_ParsePosixString (string posixFormat, ref int index, global::System.Func< char, bool > breakCondition)
 
static string TZif_GetZoneAbbreviation (string zoneAbbreviations, int index)
 
static int TZif_ToInt32 (byte[] value, int startIndex)
 
static long TZif_ToInt64 (byte[] value, int startIndex)
 
static long TZif_ToUnixTime (byte[] value, int startIndex, global::System.TimeZoneInfo.TZVersion version)
 
static global::System.DateTime TZif_UnixTimeToDateTime (long unixTime)
 
static void TZif_ParseRaw (byte[] data, out global::System.TimeZoneInfo.TZifHead t, out global::System.DateTime[] dts, out byte[] typeOfLocalTime, out global::System.TimeZoneInfo.TZifType[] transitionType, out string zoneAbbreviations, out bool[] StandardTime, out bool[] GmtTime, out string futureTransitionsPosixFormat)
 
static global::System.DateTime ConvertTime (global::System.DateTime dateTime, global::System.TimeZoneInfo sourceTimeZone, global::System.TimeZoneInfo destinationTimeZone, global::System.TimeZoneInfoOptions flags, global::System.TimeZoneInfo.CachedData cachedData)
 
static global::System.DateTime ConvertUtcToTimeZone (long ticks, global::System.TimeZoneInfo destinationTimeZone, out bool isAmbiguousLocalDst)
 
static bool GetIsDaylightSavings (global::System.DateTime time, global::System.TimeZoneInfo.AdjustmentRule rule, global::System.Globalization.DaylightTimeStruct daylightTime, global::System.TimeZoneInfoOptions flags)
 
static bool GetIsDaylightSavingsFromUtc (global::System.DateTime time, int year, global::System.TimeSpan utc, global::System.TimeZoneInfo.AdjustmentRule rule, int? ruleIndex, out bool isAmbiguousLocalDst, global::System.TimeZoneInfo zone)
 
static bool CheckIsDst (global::System.DateTime startTime, global::System.DateTime time, global::System.DateTime endTime, bool ignoreYearAdjustment, global::System.TimeZoneInfo.AdjustmentRule rule)
 
static bool GetIsAmbiguousTime (global::System.DateTime time, global::System.TimeZoneInfo.AdjustmentRule rule, global::System.Globalization.DaylightTimeStruct daylightTime)
 
static bool GetIsInvalidTime (global::System.DateTime time, global::System.TimeZoneInfo.AdjustmentRule rule, global::System.Globalization.DaylightTimeStruct daylightTime)
 
static global::System.TimeSpan GetUtcOffset (global::System.DateTime time, global::System.TimeZoneInfo zone, global::System.TimeZoneInfoOptions flags)
 
static global::System.TimeSpan GetUtcOffsetFromUtc (global::System.DateTime time, global::System.TimeZoneInfo zone)
 
static global::System.TimeSpan GetUtcOffsetFromUtc (global::System.DateTime time, global::System.TimeZoneInfo zone, out bool isDaylightSavings)
 
static void ValidateTimeZoneInfo (string id, global::System.TimeSpan baseUtcOffset, global::System.TimeZoneInfo.AdjustmentRule[] adjustmentRules, out bool adjustmentRulesSupportDst)
 
static global::System.TimeSpan GetUtcOffset (global::System.TimeSpan baseUtcOffset, global::System.TimeZoneInfo.AdjustmentRule adjustmentRule)
 
static bool IsValidAdjustmentRuleOffest (global::System.TimeSpan baseUtcOffset, global::System.TimeZoneInfo.AdjustmentRule adjustmentRule)
 
static void NormalizeAdjustmentRuleOffset (global::System.TimeSpan baseUtcOffset, ref global::System.TimeZoneInfo.AdjustmentRule adjustmentRule)
 
static string GetTimeZoneDirectoryUnity ()
 
static global::System.Collections.Generic.List< global::System.TimeZoneInfo.AdjustmentRule > CreateAdjustmentRule (int year, out long[] data, out string[] names, string standardNameCurrentYear, string daylightNameCurrentYear)
 
static global::System.TimeZoneInfo CreateLocalUnity ()
 
static TimeZoneInfo ()
 

Private Attributes

readonly string _id
 
readonly string _displayName
 
readonly string _standardDisplayName
 
readonly string _daylightDisplayName
 
readonly global::System.TimeSpan _baseUtcOffset
 
readonly bool _supportsDaylightSavingTime
 
readonly global::System.TimeZoneInfo.AdjustmentRule[] _adjustmentRules
 

Static Private Attributes

static readonly global::System.TimeZoneInfo s_utcTimeZone
 
static global::System.TimeZoneInfo.CachedData s_cachedData
 
static readonly global::System.DateTime s_maxDateOnly
 
static readonly global::System.DateTime s_minDateOnly
 
static readonly global::System.TimeSpan MaxOffset
 
static readonly global::System.TimeSpan MinOffset
 

Detailed Description

Definition at line 17 of file TimeZoneInfo.cs.


The documentation for this class was generated from the following file: