C# Class APG.CodeHelper.DateTimeHelper

Show file Open project: UGTU/UGTUKadrProject

Public Methods

Method Description
GetChangeDelta ( int year ) : System.TimeSpan
GetTimeChange ( System.DateTime time ) : TimeChangeType
IsEndWork ( System.DateTime day, int second ) : bool
IsWinterCriticalHour ( System.DateTime time ) : bool

Method Details

GetChangeDelta() public static method

public static GetChangeDelta ( int year ) : System.TimeSpan
year int
return System.TimeSpan

GetTimeChange() public static method

public static GetTimeChange ( System.DateTime time ) : TimeChangeType
time System.DateTime
return TimeChangeType

IsEndWork() public static method

public static IsEndWork ( System.DateTime day, int second ) : bool
day System.DateTime
second int
return bool

IsWinterCriticalHour() public static method

public static IsWinterCriticalHour ( System.DateTime time ) : bool
time System.DateTime
return bool