Свойство | Type | Description | |
---|---|---|---|
MaxDateValue | DateTime | ||
MinDateValue | DateTime |
Свойство | Type | Description | |
---|---|---|---|
Date | DateTime? | ||
DateDiffInSeconds | int | ||
FloorMonth | System.DateTime | ||
FloorMonth | DateTime? | ||
FloorQuarter | System.DateTime | ||
FloorQuarter | DateTime? | ||
FloorWeek | System.DateTime | ||
FloorWeek | DateTime? | ||
FloorYear | System.DateTime | ||
FloorYear | DateTime? | ||
ForecastEndDate | DateTime? | ||
WeekNumber | int |
Méthode | Description | |
---|---|---|
AddDays ( this date, double days ) : DateTime? | ||
Days ( this days ) : System.TimeSpan | ||
GetDateName ( this date ) : string | ||
GetPartWeekName ( this weekStartDate, System.DateTime weekEndDate ) : string | ||
GetWeekFirstDay ( this date ) : System.DateTime | ||
GetWeekLastDay ( this date ) : System.DateTime | ||
GetWeekName ( this date ) : string | ||
HumanFormat ( this dateTime ) : IFormattedMessage | ||
Subtract ( this date, TimeSpan timeSpan ) : DateTime? | ||
SubtractDays ( this dateTime, int days ) : DateTime | ||
ToJavascriptDate ( this date ) : long | ||
TrimHours ( this dateTime ) : DateTime | ||
TrimMilliseconds ( this dateTime ) : DateTime | ||
TrimMilliseconds ( this dateTime ) : DateTime? | ||
Truncate ( this dateTime, TimeSpan timeSpan ) : DateTime |
Méthode | Description | |
---|---|---|
Date ( this date ) : DateTime? | ||
DateDiffInSeconds ( this date, System.DateTime otherDate ) : int | ||
FloorMonth ( this date ) : System.DateTime | ||
FloorMonth ( this date ) : DateTime? | ||
FloorQuarter ( this date ) : System.DateTime | ||
FloorQuarter ( this date ) : DateTime? | ||
FloorWeek ( System.DateTime dateTime ) : System.DateTime | ||
FloorWeek ( this date ) : DateTime? | ||
FloorYear ( this date ) : System.DateTime | ||
FloorYear ( this date ) : DateTime? | ||
ForecastEndDate ( this startDate, System.DateTime now, decimal progress ) : DateTime? | ||
WeekNumber ( this date ) : int |
public static AddDays ( this date, double days ) : DateTime? | ||
date | this | |
days | double | |
Résultat | DateTime? |
public static Days ( this days ) : System.TimeSpan | ||
days | this | |
Résultat | System.TimeSpan |
public static GetDateName ( this date ) : string | ||
date | this | |
Résultat | string |
public static GetPartWeekName ( this weekStartDate, System.DateTime weekEndDate ) : string | ||
weekStartDate | this | |
weekEndDate | System.DateTime | |
Résultat | string |
public static GetWeekFirstDay ( this date ) : System.DateTime | ||
date | this | |
Résultat | System.DateTime |
public static GetWeekLastDay ( this date ) : System.DateTime | ||
date | this | |
Résultat | System.DateTime |
public static GetWeekName ( this date ) : string | ||
date | this | |
Résultat | string |
public static HumanFormat ( this dateTime ) : IFormattedMessage | ||
dateTime | this | |
Résultat | IFormattedMessage |
public static Subtract ( this date, TimeSpan timeSpan ) : DateTime? | ||
date | this | |
timeSpan | TimeSpan | |
Résultat | DateTime? |
public static SubtractDays ( this dateTime, int days ) : DateTime | ||
dateTime | this | |
days | int | |
Résultat | DateTime |
public static ToJavascriptDate ( this date ) : long | ||
date | this | |
Résultat | long |
public static TrimHours ( this dateTime ) : DateTime | ||
dateTime | this | |
Résultat | DateTime |
public static TrimMilliseconds ( this dateTime ) : DateTime | ||
dateTime | this | |
Résultat | DateTime |
public static TrimMilliseconds ( this dateTime ) : DateTime? | ||
dateTime | this | |
Résultat | DateTime? |
public static Truncate ( this dateTime, TimeSpan timeSpan ) : DateTime | ||
dateTime | this | |
timeSpan | TimeSpan | |
Résultat | DateTime |