Class TimeZoneRule
Assembly: SoCore.dll
Syntax
public class TimeZoneRule
Constructors
TimeZoneRule()
Declaration
TimeZoneRule(Int32, Int32, Int32, Int32, Int32)
Declaration
public TimeZoneRule(int tzOffset, int startDay, int startMonth, int endDay, int endMonth)
Parameters
TimeZoneRule(Int32, String, String)
Declaration
public TimeZoneRule(int tzOffset, string startRulePattern, string endRulePattern)
Parameters
Properties
EndDay
Declaration
public int EndDay { get; set; }
Property Value
EndMonth
Declaration
public int EndMonth { get; set; }
Property Value
EndRulePattern
Declaration
public string EndRulePattern { get; set; }
Property Value
StartDay
Declaration
public int StartDay { get; set; }
Property Value
StartMonth
Declaration
public int StartMonth { get; set; }
Property Value
StartRulePattern
Declaration
public string StartRulePattern { get; set; }
Property Value
TZOffset
Declaration
public int TZOffset { get; set; }
Property Value
Methods
GetEndRuleDate(Int32)
Declaration
public DateTime GetEndRuleDate(int year)
Parameters
Type |
Name |
Description |
Int32 |
year |
|
Returns
GetiCalDaylightSavingTimePattern()
Declaration
public string GetiCalDaylightSavingTimePattern()
Returns
GetiCalStandardPattern()
Declaration
public string GetiCalStandardPattern()
Returns
GetStartRuleDate(Int32)
Declaration
public DateTime GetStartRuleDate(int year)
Parameters
Type |
Name |
Description |
Int32 |
year |
|
Returns
Extension Methods
EnumUtil.MapEnums<From, To>(From)