Метод | Описание | |
---|---|---|
Ago ( this source ) : System.DateTime |
Creates a final DateTime source in the past
|
|
BeginningOfDay ( this date ) : System.DateTime |
Gets a DateTime that represents the first millisecond of the day represented by date
|
|
Days ( this source ) : System.TimeSpan |
Creates a TimeSpan spanning source days.
|
|
Double ( this source ) : System.TimeSpan |
Doubles a TimeSpan
|
|
EndOfDay ( this date ) : System.DateTime |
Gets a DateTime that represents the last millisecond of the day represented by date
|
|
From ( this source, System.DateTime origin ) : System.DateTime |
Calculates a final date spanning source after origin
|
|
Hours ( this source ) : System.TimeSpan |
Creates a TimeSpan spanning source hours.
|
|
Milliseconds ( this source ) : System.TimeSpan |
Creates a TimeSpan spanning source milliseconds.
|
|
Minutes ( this source ) : System.TimeSpan |
Creates a TimeSpan spanning source minutes.
|
|
RoundToHours ( this timeSpan ) : System.TimeSpan |
Rounds a TimeSpan to the nearest hour
|
|
RoundToMinutes ( this timeSpan ) : System.TimeSpan |
Rounds a TimeSpan to the nearest minute
|
|
RoundToSeconds ( this timeSpan ) : System.TimeSpan |
Rounds a TimeSpan to the nearest second
|
|
Second ( this source ) : System.TimeSpan |
Creates a TimeSpan spanning 1 second.
|
|
Seconds ( this source ) : System.TimeSpan |
Creates a TimeSpan spanning source seconds.
|
|
Since ( this source, System.DateTime origin ) : System.DateTime |
Calculates a final date spanning source after origin Alias to From
|
|
ToEnglishString ( this timeSpan ) : string |
Creates an English string from a TimeSpan value
|
Метод | Описание | |
---|---|---|
Million ( this value ) : int | ||
Months ( this source ) : System.TimeSpan | ||
Thousand ( this value ) : int | ||
Years ( this source ) : System.TimeSpan |
public static Ago ( this source ) : System.DateTime | ||
source | this | |
Результат | System.DateTime |
public static BeginningOfDay ( this date ) : System.DateTime | ||
date | this | |
Результат | System.DateTime |
public static Days ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static Double ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static EndOfDay ( this date ) : System.DateTime | ||
date | this | |
Результат | System.DateTime |
public static From ( this source, System.DateTime origin ) : System.DateTime | ||
source | this | |
origin | System.DateTime | |
Результат | System.DateTime |
public static Hours ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static Milliseconds ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static Minutes ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static RoundToHours ( this timeSpan ) : System.TimeSpan | ||
timeSpan | this | |
Результат | System.TimeSpan |
public static RoundToMinutes ( this timeSpan ) : System.TimeSpan | ||
timeSpan | this | |
Результат | System.TimeSpan |
public static RoundToSeconds ( this timeSpan ) : System.TimeSpan | ||
timeSpan | this | |
Результат | System.TimeSpan |
public static Second ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static Seconds ( this source ) : System.TimeSpan | ||
source | this | |
Результат | System.TimeSpan |
public static Since ( this source, System.DateTime origin ) : System.DateTime | ||
source | this | |
origin | System.DateTime | |
Результат | System.DateTime |
public static ToEnglishString ( this timeSpan ) : string | ||
timeSpan | this | |
Результат | string |