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

◆ GetDeserializedTimeZoneInfo()

static TimeZoneInfo System.TimeZoneInfo.StringSerializer.GetDeserializedTimeZoneInfo ( string source)
inlinestatic

Definition at line 365 of file TimeZoneInfo.cs.

366 {
368 string nextStringValue = stringSerializer.GetNextStringValue();
369 TimeSpan nextTimeSpanValue = stringSerializer.GetNextTimeSpanValue();
370 string nextStringValue2 = stringSerializer.GetNextStringValue();
371 string nextStringValue3 = stringSerializer.GetNextStringValue();
372 string nextStringValue4 = stringSerializer.GetNextStringValue();
373 AdjustmentRule[] nextAdjustmentRuleArrayValue = stringSerializer.GetNextAdjustmentRuleArrayValue();
374 try
375 {
377 }
378 catch (ArgumentException innerException)
379 {
380 throw new SerializationException(SR.Serialization_InvalidData, innerException);
381 }
383 {
384 throw new SerializationException(SR.Serialization_InvalidData, innerException2);
385 }
386 }
TimeZoneInfo(string id, TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, AdjustmentRule[] adjustmentRules, bool disableDaylightSavingTime, bool hasIanaId=false)

References System.TimeZoneInfo.StringSerializer.StringSerializer(), System.TimeZoneInfo.TimeZoneInfo(), System.SR.Serialization_InvalidData, and System.source.

Referenced by System.TimeZoneInfo.FromSerializedString().