Files
2026-06-04 11:42:34 +02:00

70 lines
2.7 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Globalization
{
/// <summary>Defines the period of daylight saving time.</summary>
// Token: 0x02000183 RID: 387
[ComVisible(true)]
[Serializable]
public class DaylightTime
{
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.DaylightTime" /> class.</summary>
/// <param name="start">The <see cref="T:System.DateTime" /> that represents the date and time when the daylight saving period begins. The value must be in local time. </param>
/// <param name="end">The <see cref="T:System.DateTime" /> that represents the date and time when the daylight saving period ends. The value must be in local time. </param>
/// <param name="delta">The <see cref="T:System.TimeSpan" /> that represents the difference between the standard time and the daylight saving time in ticks. </param>
// Token: 0x06001318 RID: 4888 RVA: 0x0004ADC0 File Offset: 0x00048FC0
public DaylightTime(DateTime start, DateTime end, TimeSpan delta)
{
this.m_start = start;
this.m_end = end;
this.m_delta = delta;
}
/// <summary>Gets the <see cref="T:System.DateTime" /> that represents the date and time when the daylight saving period begins.</summary>
/// <returns>The <see cref="T:System.DateTime" /> that represents the date and time when the daylight saving period begins. The value is in local time.</returns>
// Token: 0x17000348 RID: 840
// (get) Token: 0x06001319 RID: 4889 RVA: 0x0004ADE0 File Offset: 0x00048FE0
public DateTime Start
{
get
{
return this.m_start;
}
}
/// <summary>Gets the <see cref="T:System.DateTime" /> that represents the date and time when the daylight saving period ends.</summary>
/// <returns>The <see cref="T:System.DateTime" /> that represents the date and time when the daylight saving period ends. The value is in local time.</returns>
// Token: 0x17000349 RID: 841
// (get) Token: 0x0600131A RID: 4890 RVA: 0x0004ADE8 File Offset: 0x00048FE8
public DateTime End
{
get
{
return this.m_end;
}
}
/// <summary>Gets the <see cref="T:System.TimeSpan" /> that represents the difference between the standard time and the daylight saving time.</summary>
/// <returns>The <see cref="T:System.TimeSpan" /> that represents the difference between the standard time and the daylight saving time.</returns>
// Token: 0x1700034A RID: 842
// (get) Token: 0x0600131B RID: 4891 RVA: 0x0004ADF0 File Offset: 0x00048FF0
public TimeSpan Delta
{
get
{
return this.m_delta;
}
}
// Token: 0x04000552 RID: 1362
private DateTime m_start;
// Token: 0x04000553 RID: 1363
private DateTime m_end;
// Token: 0x04000554 RID: 1364
private TimeSpan m_delta;
}
}