15 [
TypeForwardedFrom(
"System.Core, Version=2.0.5.0, Culture=Neutral, PublicKeyToken=7cec85d7bea7798e")]
249 return "/usr/share/zoneinfo/";
374 bool flag =
string.IsNullOrEmpty(
date);
432 bool flag =
string.IsNullOrEmpty(
text);
591 if (t.TimeCount != 0
U)
597 if (t.TypeCount != 0
U)
612 if (t.IsGmtCount != 0
U)
878 string id = this.
_id;
922 while (
other ==
null)
1027 string id = this.
_id;
1039 while (
info ==
null)
1042 string id = this.
_id;
1045 info.
AddValue(
"DisplayName", displayName);
1064 while (
info ==
null);
1066 object value =
info.GetValue(
"Id", type);
1080 if (
info.GetValue(
"StandardName",
type3) !=
null)
1357 int year = dateTime.
Year;
1372 if (time ==
null || num == 0)
1407 if (time ==
null || num == 0)
1547 string text =
SR.
Format(
"The specified ID parameter '{0}' is not supported.",
id);
1649 int month = dateTime.
Month;
1673 if (
"hh\\:mm" !=
null)
1676 if (
list._size == 0)
1680 int size =
list2._size;
1684 if (year != 0 || size == 0)
1757 while (data ==
null)
1938 if (!isFixedDateRule)
1944 if (!isFixedDateRule2)
2167 while (
info ==
null)
2190 while (
info ==
null);
2195 object value =
info.GetValue(
"DateStart", type);
2205 if (
info.GetValueNoThrow(
"BaseUtcOffsetDelta",
type6) !=
null)
2209 if (
info.GetValueNoThrow(
"NoDaylightTransitions",
type7) !=
null)
2384 byte month = this.
_month;
2472 byte month = this.
_month;
2474 byte day = this.
_day;
2481 while (
info ==
null)
2484 byte month = this.
_month;
2488 byte day = this.
_day;
2498 while (
info ==
null)
2502 object value =
info.GetValue(
"TimeOfDay", type);
2571 if (localTimeZone !=
null)
2614 byte[]
array = this.buffer;
2620 string text4 = this.id;
2634 public byte[] buffer;
2674 return char.IsDigit(c);
2683 return char.IsDigit(c);
class f__AnonymousType0<< Count > j__TPar
static string Format(string resourceFormat, params object[] args)
static string GetEnvironmentVariable(string variable)
static Exception GetEndOfFile()
static string Combine(string path1, string path2)
void AddValue(string name, object value, Type type)
static void Exit(object obj)
readonly DateTime _dateEnd
bool IsEndDateMarkerForEndOfYear()
readonly TimeZoneInfo.TransitionTime _daylightTransitionEnd
static TimeZoneInfo.AdjustmentRule CreateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TimeZoneInfo.TransitionTime daylightTransitionStart, TimeZoneInfo.TransitionTime daylightTransitionEnd, TimeSpan baseUtcOffsetDelta, bool noDaylightTransitions)
readonly TimeSpan _daylightDelta
bool Equals(TimeZoneInfo.AdjustmentRule other)
bool NoDaylightTransitions
readonly TimeSpan _baseUtcOffsetDelta
TimeZoneInfo.TransitionTime DaylightTransitionStart
AdjustmentRule(SerializationInfo info, StreamingContext context)
static void ValidateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TimeZoneInfo.TransitionTime daylightTransitionStart, TimeZoneInfo.TransitionTime daylightTransitionEnd, bool noDaylightTransitions)
TimeSpan BaseUtcOffsetDelta
AdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TimeZoneInfo.TransitionTime daylightTransitionStart, TimeZoneInfo.TransitionTime daylightTransitionEnd, TimeSpan baseUtcOffsetDelta, bool noDaylightTransitions)
readonly TimeZoneInfo.TransitionTime _daylightTransitionStart
readonly bool _noDaylightTransitions
override int GetHashCode()
bool IsStartDateMarkerForBeginningOfYear()
TimeZoneInfo.TransitionTime DaylightTransitionEnd
static TimeZoneInfo.AdjustmentRule CreateAdjustmentRule(DateTime dateStart, DateTime dateEnd, TimeSpan daylightDelta, TimeZoneInfo.TransitionTime daylightTransitionStart, TimeZoneInfo.TransitionTime daylightTransitionEnd)
readonly DateTime _dateStart
TimeZoneInfo CreateLocal()
TimeZoneInfo _localTimeZone
DateTimeKind GetCorrespondingKind(TimeZoneInfo timeZone)
static readonly DateTime s_minDateOnly
static DateTime ConvertTimeToUtc(DateTime dateTime, TimeZoneInfoOptions flags)
static bool IsValidAdjustmentRuleOffest(TimeSpan baseUtcOffset, TimeZoneInfo.AdjustmentRule adjustmentRule)
static bool GetIsDaylightSavings(DateTime time, TimeZoneInfo.AdjustmentRule rule, DaylightTimeStruct daylightTime, TimeZoneInfoOptions flags)
static string GetTimeZoneDirectory()
static TimeSpan GetUtcOffset(TimeSpan baseUtcOffset, TimeZoneInfo.AdjustmentRule adjustmentRule)
static TimeZoneInfo.AdjustmentRule TZif_CreateAdjustmentRuleForPosixFormat(string posixFormat, DateTime startTransitionDate, TimeSpan timeZoneBaseUtcOffset)
static TimeZoneInfo CreateCustomTimeZone(string id, TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, TimeZoneInfo.AdjustmentRule[] adjustmentRules, bool disableDaylightSavingTime)
static bool GetIsAmbiguousTime(DateTime time, TimeZoneInfo.AdjustmentRule rule, DaylightTimeStruct daylightTime)
DateTime ConvertToUtc(DateTime dateTime, TimeSpan daylightDelta, TimeSpan baseUtcOffsetDelta)
static TimeZoneInfo.TransitionTime TZif_CreateTransitionTimeFromPosixRule(string date, string time)
static readonly TimeZoneInfo s_utcTimeZone
readonly bool _supportsDaylightSavingTime
TimeSpan GetUtcOffset(DateTime dateTime, TimeZoneInfoOptions flags, TimeZoneInfo.CachedData cachedData)
override bool Equals(object obj)
static List< TimeZoneInfo.AdjustmentRule > CreateAdjustmentRule(int year, [Out] long[] data, [Out] string[] names, string standardNameCurrentYear, string daylightNameCurrentYear)
static void NormalizeAdjustmentRuleOffset(TimeSpan baseUtcOffset, TimeZoneInfo.AdjustmentRule adjustmentRule)
static bool TryLoadTzFile(string tzFilePath, byte[] rawData, string id)
static DateTime ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags, TimeZoneInfo.CachedData cachedData)
static void TZif_ParseJulianDay(string date, [Out] int month, [Out] int day)
static readonly TimeSpan MaxOffset
bool IsDaylightSavingTime(DateTime dateTime, TimeZoneInfoOptions flags)
readonly TimeSpan _baseUtcOffset
static void EnumerateFilesRecursively(string path, Predicate< string > condition)
TimeSpan GetUtcOffset(DateTime dateTime, TimeZoneInfoOptions flags)
TimeZoneInfo.AdjustmentRule[] GetAdjustmentRules()
static void TZif_GenerateAdjustmentRule(int index, TimeSpan timeZoneBaseUtcOffset, List< TimeZoneInfo.AdjustmentRule > rulesList, DateTime[] dts, byte[] typeOfLocalTime, TimeZoneInfo.TZifType[] transitionTypes, bool[] StandardTime, bool[] GmtTime, string futureTransitionsPosixFormat)
static DateTime TZif_UnixTimeToDateTime(long unixTime)
static string TZif_GetZoneAbbreviation(string zoneAbbreviations, int index)
static string TZif_ParsePosixName(string posixFormat, int index)
TimeSpan GetDaylightSavingsEndOffsetFromUtc(TimeSpan baseUtcOffset, TimeZoneInfo.AdjustmentRule rule)
static TimeZoneInfo.TZifType TZif_GetEarlyDateTransitionType(TimeZoneInfo.TZifType[] transitionTypes)
static string GetTimeZoneDirectoryUnity()
readonly string _standardDisplayName
override string ToString()
static string TZif_ParsePosixDate(string posixFormat, int index)
static void TZif_GenerateAdjustmentRules([Out] TimeZoneInfo.AdjustmentRule[] rules, TimeSpan baseUtcOffset, DateTime[] dts, byte[] typeOfLocalTime, TimeZoneInfo.TZifType[] transitionType, bool[] StandardTime, bool[] GmtTime, string futureTransitionsPosixFormat)
TimeSpan GetDaylightSavingsStartOffsetFromUtc(TimeSpan baseUtcOffset, TimeZoneInfo.AdjustmentRule rule, int? ruleIndex)
static bool TZif_ParseMDateRule(string dateRule, [Out] int month, [Out] int week, [Out] DayOfWeek dayOfWeek)
TimeZoneInfo.AdjustmentRule GetAdjustmentRuleForTime(DateTime dateTime, bool dateTimeisUtc, [Out] int? ruleIndex)
static bool UtcOffsetOutOfRange(TimeSpan offset)
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)
TimeZoneInfo(string id, TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, TimeZoneInfo.AdjustmentRule[] adjustmentRules, bool disableDaylightSavingTime)
bool IsDaylightSavingTime(DateTime dateTime, TimeZoneInfoOptions flags, TimeZoneInfo.CachedData cachedData)
static TimeZoneInfo Local
static string FindTimeZoneIdUsingReadLink(string tzFilePath)
static TimeZoneInfo.CachedData s_cachedData
TimeZoneInfo.AdjustmentRule GetPreviousAdjustmentRule(TimeZoneInfo.AdjustmentRule rule, int? ruleIndex)
bool HasSameRules(TimeZoneInfo other)
readonly string _displayName
static DateTime ParseTimeOfDay(string time)
static DateTime ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags)
static ? TimeSpan TZif_ParseOffsetString(string offset)
static readonly DateTime s_maxDateOnly
readonly string _daylightDisplayName
TimeZoneInfo(byte[] data, string id, bool dstDisabled)
static TimeSpan GetDateTimeNowUtcOffsetFromUtc(DateTime time, [Out] bool isAmbiguousLocalDst)
static int TZif_ToInt32(byte[] value, int startIndex)
static bool GetIsInvalidTime(DateTime time, TimeZoneInfo.AdjustmentRule rule, DaylightTimeStruct daylightTime)
static readonly TimeSpan MinOffset
static TimeSpan GetUtcOffsetFromUtc(DateTime time, TimeZoneInfo zone)
static TimeSpan GetLocalUtcOffset(DateTime dateTime, TimeZoneInfoOptions flags)
static string FindTimeZoneId(byte[] rawData)
static TimeSpan GetUtcOffsetFromUtc(DateTime time, TimeZoneInfo zone, [Out] bool isDaylightSavings)
static string TZif_ParsePosixString(string posixFormat, int index, Func< char, bool > breakCondition)
static DateTime ConvertUtcToTimeZone(long ticks, TimeZoneInfo destinationTimeZone, [Out] bool isAmbiguousLocalDst)
TimeZoneInfo.AdjustmentRule GetAdjustmentRuleForTime(DateTime dateTime, [Out] int? ruleIndex)
static bool CompareTimeZoneFile(string filePath, byte[] buffer, byte[] rawData)
static bool CheckIsDst(DateTime startTime, DateTime time, DateTime endTime, bool ignoreYearAdjustment, TimeZoneInfo.AdjustmentRule rule)
DaylightTimeStruct GetDaylightTime(int year, TimeZoneInfo.AdjustmentRule rule, int? ruleIndex)
static void TZif_ParsePosixDateTime(string posixFormat, int index, [Out] string date, [Out] string time)
static TimeZoneInfo CreateCustomTimeZone(string id, TimeSpan baseUtcOffset, string displayName, string standardDisplayName)
bool SupportsDaylightSavingTime
override int GetHashCode()
static DateTime TransitionTimeToDateTime(int year, TimeZoneInfo.TransitionTime transitionTime)
static void TZif_ParseRaw(byte[] data, [Out] TimeZoneInfo.TZifHead t, [Out] DateTime[] dts, [Out] byte[] typeOfLocalTime, [Out] TimeZoneInfo.TZifType[] transitionType, [Out] string zoneAbbreviations, [Out] bool[] StandardTime, [Out] bool[] GmtTime, [Out] string futureTransitionsPosixFormat)
TimeSpan GetUtcOffset(DateTime dateTime)
static TimeZoneInfo GetLocalTimeZoneFromTzFile()
static TimeSpan TZif_CalculateTransitionOffsetFromBase(TimeSpan transitionOffset, TimeSpan timeZoneBaseUtcOffset)
DateTime ConvertToFromUtc(DateTime dateTime, TimeSpan daylightDelta, TimeSpan baseUtcOffsetDelta, bool convertToUtc)
int CompareAdjustmentRuleToDateTime(TimeZoneInfo.AdjustmentRule rule, TimeZoneInfo.AdjustmentRule previousRule, DateTime dateTime, DateTime dateOnly, bool dateTimeisUtc)
static bool GetIsDaylightSavingsFromUtc(DateTime time, int year, TimeSpan utc, TimeZoneInfo.AdjustmentRule rule, int? ruleIndex, [Out] bool isAmbiguousLocalDst, TimeZoneInfo zone)
static void ValidateTimeZoneInfo(string id, TimeSpan baseUtcOffset, TimeZoneInfo.AdjustmentRule[] adjustmentRules, [Out] bool adjustmentRulesSupportDst)
static bool TryGetLocalTzFile([Out] byte[] rawData, [Out] string id)
static TimeZoneInfo CreateLocalUnity()
static long TZif_ToInt64(byte[] value, int startIndex)
static string GetDirectoryEntryFullPath(Interop.Sys.DirectoryEntry dirent, string currentPath)
static TimeSpan GetUtcOffset(DateTime time, TimeZoneInfo zone, TimeZoneInfoOptions flags)
DateTime ConvertFromUtc(DateTime dateTime, TimeSpan daylightDelta, TimeSpan baseUtcOffsetDelta)
static TimeSpan GetUtcOffsetFromUtc(DateTime time, TimeZoneInfo zone, [Out] bool isDaylightSavings, [Out] bool isAmbiguousLocalDst)
bool Equals(TimeZoneInfo other)
static TimeZoneInfo GetTimeZoneFromTzData(byte[] rawData, string id)
TimeZoneInfo(SerializationInfo info, StreamingContext context)
static string GetTzEnvironmentVariable()
static string TZif_ParsePosixTime(string posixFormat, int index)
static long TZif_ToUnixTime(byte[] value, int startIndex, TimeZoneInfo.TZVersion version)
readonly TimeZoneInfo.AdjustmentRule[] _adjustmentRules
static string TZif_ParsePosixOffset(string posixFormat, int index)
static TimeZoneInfo GetLocalTimeZone(TimeZoneInfo.CachedData cachedData)
void OnDeserialization(object sender)
void GetObjectData(SerializationInfo info, StreamingContext context)
DateTime AddYears(int value)
static int DaysInMonth(int year, int month)
TZifHead(byte[] data, int index)
readonly TimeZoneInfo.TZVersion Version
readonly byte AbbreviationIndex
readonly TimeSpan UtcOffset
TZifType(byte[] data, int index)
bool Equals(TimeZoneInfo.TransitionTime other)
override bool Equals(object obj)
static TimeZoneInfo.TransitionTime CreateFloatingDateRule(DateTime timeOfDay, int month, int week, DayOfWeek dayOfWeek)
override int GetHashCode()
readonly bool _isFixedDateRule
static bool operator!=(TimeZoneInfo.TransitionTime t1, TimeZoneInfo.TransitionTime t2)
static void ValidateTransitionTime(DateTime timeOfDay, int month, int week, int day, DayOfWeek dayOfWeek)
TransitionTime(SerializationInfo info, StreamingContext context)
readonly DateTime _timeOfDay
TransitionTime(DateTime timeOfDay, int month, int week, int day, DayOfWeek dayOfWeek, bool isFixedDateRule)
static TimeZoneInfo.TransitionTime CreateFixedDateRule(DateTime timeOfDay, int month, int day)
readonly DayOfWeek _dayOfWeek