a
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Represents a time zone.</summary>
|
||||
// Token: 0x0200019D RID: 413
|
||||
[Token(Token = "0x200019D")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public abstract class TimeZone
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.TimeZone" /> class.</summary>
|
||||
// Token: 0x06001074 RID: 4212 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001074")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected TimeZone()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the time zone of the current computer.</summary>
|
||||
/// <returns>A <see cref="T:System.TimeZone" /> object that represents the current local time zone.</returns>
|
||||
// Token: 0x1700018B RID: 395
|
||||
// (get) Token: 0x06001075 RID: 4213 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700018B")]
|
||||
public static TimeZone CurrentTimeZone
|
||||
{
|
||||
[Token(Token = "0x6001075")]
|
||||
[Address(RVA = "0x1DB6400", Offset = "0x1DB5200", VA = "0x181DB6400")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns the Coordinated Universal Time (UTC) offset for the specified local time.</summary>
|
||||
/// <param name="time">A date and time value.</param>
|
||||
/// <returns>The Coordinated Universal Time (UTC) offset from <paramref name="time" />.</returns>
|
||||
// Token: 0x06001076 RID: 4214
|
||||
[Token(Token = "0x6001076")]
|
||||
[Address(Slot = "4")]
|
||||
public abstract TimeSpan GetUtcOffset(DateTime time);
|
||||
|
||||
// Token: 0x0400086A RID: 2154
|
||||
[Token(Token = "0x400086A")]
|
||||
private static TimeZone currentTimeZone;
|
||||
|
||||
// Token: 0x0400086B RID: 2155
|
||||
[Token(Token = "0x400086B")]
|
||||
[NonSerialized]
|
||||
private static object tz_lock;
|
||||
|
||||
// Token: 0x0400086C RID: 2156
|
||||
[Token(Token = "0x400086C")]
|
||||
[NonSerialized]
|
||||
private static long timezone_check;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user