Method | Description | |
---|---|---|
Combine ( ulong date, uint time ) : ulong |
Combine a date and a time.
|
|
DateTime2Long ( System.DateTime time ) : ulong |
Convert a date/time to a long.
|
|
GetDayOfWeek ( ulong p ) : int |
Get the day of the week for the specified numeric date.
|
|
GetMinutePeriod ( uint time, int period ) : int |
Get the minute period.
|
|
GetMonth ( ulong l ) : int |
Get the year month of a numeric date.
|
|
GetYear ( ulong date ) : int |
Get the year part of a numeric date.
|
|
HaveSameDate ( System.DateTime d1, System.DateTime d2 ) : bool |
Determine of two values have the same date.
|
|
Long2DateTime ( ulong l ) : System.DateTime |
Convert a numeric date time to a regular date time.
|
|
StripTime ( System.DateTime dt ) : System.DateTime |
Strip the time element.
|
Method | Description | |
---|---|---|
Int2Time ( System.DateTime date, uint i ) : System.DateTime |
Convert an int to a time.
|
|
Time2Int ( System.DateTime time ) : uint |
Convert a time to an int.
|
public static Combine ( ulong date, uint time ) : ulong | ||
date | ulong | The date. |
time | uint | The time. |
return | ulong |
public static DateTime2Long ( System.DateTime time ) : ulong | ||
time | System.DateTime | The time to convert. |
return | ulong |
public static GetDayOfWeek ( ulong p ) : int | ||
p | ulong | The time to check. |
return | int |
public static GetMinutePeriod ( uint time, int period ) : int | ||
time | uint | The time. |
period | int | The period size, in minutes. |
return | int |
public static GetMonth ( ulong l ) : int | ||
l | ulong | The numeric date. |
return | int |
public static GetYear ( ulong date ) : int | ||
date | ulong | The numeric date. |
return | int |
public static HaveSameDate ( System.DateTime d1, System.DateTime d2 ) : bool | ||
d1 | System.DateTime | The first date/time. |
d2 | System.DateTime | The second date/time. |
return | bool |
public static Long2DateTime ( ulong l ) : System.DateTime | ||
l | ulong | The numeric date time. |
return | System.DateTime |
public static StripTime ( System.DateTime dt ) : System.DateTime | ||
dt | System.DateTime | The time-date element to strip. |
return | System.DateTime |