Method | Description | |
---|---|---|
EnumerateTo ( this start, System.DateTime end ) : IEnumerable |
||
IsSameMonthAs ( this date, System.DateTime otherDate ) : bool |
Checks if both dates are days of the same month and year
|
|
MeasureTime ( System.Action action ) : System.TimeSpan | ||
Multiply ( this duration, double modifier ) : System.TimeSpan | ||
Multiply ( this duration, float modifier ) : System.TimeSpan |
Multiplies a time period by a number
|
|
ToDays ( this value ) : System.TimeSpan | ||
ToFirstDay ( this date ) : System.DateTime | ||
ToHuman ( this time ) : string |
Outputs the 'human friendly' format (ex: 4 days ago). English only
|
|
ToLastDayOfMonth ( this dt ) : System.DateTime | ||
ToMiliseconds ( this value ) : System.TimeSpan | ||
ToSeconds ( this value ) : System.TimeSpan |
public static EnumerateTo ( this start, System.DateTime end ) : IEnumerable |
||
start | this | |
end | System.DateTime | |
return | IEnumerable |
public static IsSameMonthAs ( this date, System.DateTime otherDate ) : bool | ||
date | this | |
otherDate | System.DateTime | |
return | bool |
public static MeasureTime ( System.Action action ) : System.TimeSpan | ||
action | System.Action | |
return | System.TimeSpan |
public static Multiply ( this duration, double modifier ) : System.TimeSpan | ||
duration | this | |
modifier | double | |
return | System.TimeSpan |
public static Multiply ( this duration, float modifier ) : System.TimeSpan | ||
duration | this | |
modifier | float | |
return | System.TimeSpan |
public static ToDays ( this value ) : System.TimeSpan | ||
value | this | |
return | System.TimeSpan |
public static ToFirstDay ( this date ) : System.DateTime | ||
date | this | |
return | System.DateTime |
public static ToLastDayOfMonth ( this dt ) : System.DateTime | ||
dt | this | |
return | System.DateTime |
public static ToMiliseconds ( this value ) : System.TimeSpan | ||
value | this | |
return | System.TimeSpan |
public static ToSeconds ( this value ) : System.TimeSpan | ||
value | this | |
return | System.TimeSpan |