60 lines
1.8 KiB
C#
60 lines
1.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents a time zone.</summary>
|
|
// Token: 0x020001A4 RID: 420
|
|
[Token(Token = "0x20001A4")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public abstract class TimeZone
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.TimeZone" /> class.</summary>
|
|
// Token: 0x060010AA RID: 4266 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60010AA")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
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: 0x17000192 RID: 402
|
|
// (get) Token: 0x060010AB RID: 4267 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000192")]
|
|
public static TimeZone CurrentTimeZone
|
|
{
|
|
[Token(Token = "0x60010AB")]
|
|
[Address(RVA = "0xF7B600", Offset = "0xF7A600", VA = "0x180F7B600")]
|
|
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: 0x060010AC RID: 4268
|
|
[Token(Token = "0x60010AC")]
|
|
[Address(Slot = "4")]
|
|
public abstract TimeSpan GetUtcOffset(DateTime time);
|
|
|
|
// Token: 0x04000874 RID: 2164
|
|
[Token(Token = "0x4000874")]
|
|
private static TimeZone currentTimeZone;
|
|
|
|
// Token: 0x04000875 RID: 2165
|
|
[Token(Token = "0x4000875")]
|
|
[NonSerialized]
|
|
private static object tz_lock;
|
|
|
|
// Token: 0x04000876 RID: 2166
|
|
[Token(Token = "0x4000876")]
|
|
[NonSerialized]
|
|
private static long timezone_check;
|
|
}
|
|
}
|