Method | Description | |
---|---|---|
FromDateTime ( System time ) : int |
A static method computing the fixed day number from a T:System.DateTime value.
|
|
ToDateTime ( int date ) : System.DateTime |
The method computes the T:System.DateTime from a fixed day number.
|
|
ToDateTime ( int date, int hour, int minute, int second, double milliseconds ) : System.DateTime |
The method computes the T:System.DateTime from a fixed day number and time arguments.
|
|
day_of_week ( int date ) : DayOfWeek |
The static method computes the T:DayOfWeek.
|
|
kd_nearest ( int date, int k ) : int |
The static method computes the date of a day of week that is nearest to a particular date.
|
|
kday_after ( int date, int k ) : int |
The static method computes the date of a day of week after a particular date.
|
|
kday_before ( int date, int k ) : int |
The static method computes the date of a day of week before a particular date.
|
|
kday_on_or_after ( int date, int k ) : int |
The static method computes the date of a day of week on or after a particular date.
|
|
kday_on_or_before ( int date, int k ) : int |
The static method computes the date of a day of week on or before a particular date.
|
public static FromDateTime ( System time ) : int | ||
time | System | A
/// |
return | int |
public static ToDateTime ( int date ) : System.DateTime | ||
date | int | A integer representing the fixed day number. /// |
return | System.DateTime |
public static ToDateTime ( int date, int hour, int minute, int second, double milliseconds ) : System.DateTime | ||
date | int | An integer representing the fixed day number. /// |
hour | int | An integer argument specifying the hour. /// |
minute | int | An integer argument specifying the minute. /// |
second | int | An integer argument giving the second. /// |
milliseconds | double | An double argument specifying
/// the milliseconds. Notice that
/// |
return | System.DateTime |
public static day_of_week ( int date ) : DayOfWeek | ||
date | int | An integer representing the fixed day number. /// |
return | DayOfWeek |
public static kd_nearest ( int date, int k ) : int | ||
date | int | An integer representing the date as /// fixed day number. /// |
k | int | An integer representing the day of the week, /// starting with 0 for sunday. /// |
return | int |
public static kday_after ( int date, int k ) : int | ||
date | int | An integer representing the date as /// fixed day number. /// |
k | int | An integer representing the day of the week, /// starting with 0 for sunday. /// |
return | int |
public static kday_before ( int date, int k ) : int | ||
date | int | An integer representing the date as /// fixed day number. /// |
k | int | An integer representing the day of the week, /// starting with 0 for sunday. /// |
return | int |
public static kday_on_or_after ( int date, int k ) : int | ||
date | int | An integer representing the date as /// fixed day number. /// |
k | int | An integer representing the day of the week, /// starting with 0 for sunday. /// |
return | int |
public static kday_on_or_before ( int date, int k ) : int | ||
date | int | An integer representing the date as /// fixed day number. /// |
k | int | An integer representing the day of the week, /// starting with 0 for sunday. /// |
return | int |