Method | Description | |
---|---|---|
Days ( ) : Day |
Converts an array of integers into a
|
|
Days ( this |
Converts an enumeration of integers into a
|
|
Days ( this day ) : IEnumerable |
Converts a
|
|
GetFirstDayOfWeek ( int year, int week, |
Gets the first day of a week.
|
|
Hours ( ) : Hour |
Converts an array of integers into a
|
|
Hours ( this |
Converts an enumeration of integers into a
|
|
Hours ( this hour ) : IEnumerable |
Converts a
|
|
Minutes ( this minute ) : IEnumerable |
Converts a
|
|
Minutes ( ) : Minute |
Converts an array of integers into a
|
|
Minutes ( this |
Converts an enumeration of integers into a
|
|
Months ( this month ) : IEnumerable |
Converts a
|
|
Months ( ) : Month |
Converts an array of integers into a
|
|
Months ( this |
Converts an enumeration of integers into a
|
|
NextValid ( this dateTime, Month month = Month.Every, Week week = Week.Every, Day day = Day.Every, WeekDay weekDay = WeekDay.Every, Hour hour = Hour.Zeroth, Minute minute = Minute.Zeroth, Second second = Second.Zeroth, |
Get's the next valid second after the current .
|
|
Seconds ( this second ) : IEnumerable |
Converts a
|
|
Seconds ( ) : Second |
Converts an array of integers into a
|
|
Seconds ( this |
Converts an enumeration of integers into a
|
|
WeekDays ( this weekDay ) : IEnumerable |
||
WeekDays ( ) : WeekDay |
Converts an array of DayOfWeek into a
|
|
WeekDays ( this |
Converts an enumeration of DayOfWeek into a
|
|
WeekNumber ( this dateTime, |
Get's this week for a date.
|
|
Weeks ( this week ) : IEnumerable |
Converts a
|
|
Weeks ( ) : Week |
Converts an array of integers into a
|
|
Weeks ( this |
Converts an enumeration of integers into a
|
public static Days ( this day ) : IEnumerable |
||
day | this | The day. |
return | IEnumerable |
public static GetFirstDayOfWeek ( int year, int week, |
||
year | int | The year. |
week | int | The week. |
calendar | The calendar. | |
calendarWeekRule | CalendarWeekRule | The calendar week rule. |
firstDayOfWeek | DayOfWeek | The first day of week. |
return | System.DateTime |
public static Hours ( this |
||
hours | this |
The hours. |
return | Hour |
public static Hours ( this hour ) : IEnumerable |
||
hour | this | The hour. |
return | IEnumerable |
public static Minutes ( this minute ) : IEnumerable |
||
minute | this | The minute. |
return | IEnumerable |
public static Minutes ( this |
||
minutes | this |
The minutes. |
return | Minute |
public static Months ( this month ) : IEnumerable |
||
month | this | The month. |
return | IEnumerable |
public static Months ( this |
||
months | this |
The months. |
return | Month |
public static NextValid ( this dateTime, Month month = Month.Every, Week week = Week.Every, Day day = Day.Every, WeekDay weekDay = WeekDay.Every, Hour hour = Hour.Zeroth, Minute minute = Minute.Zeroth, Second second = Second.Zeroth, |
||
dateTime | this | The date time (fractions of a second are removed). |
month | Month | The month. |
week | Week | The week. |
day | Day | The day. |
weekDay | WeekDay | The week day. |
hour | Hour | The hour. |
minute | Minute | The minute. |
second | Second | The second. |
calendar | The calendar. | |
calendarWeekRule | CalendarWeekRule | The calendar week rule. |
firstDayOfWeek | DayOfWeek | The first day of week. |
inclusive | bool | if set to |
return | System.DateTime |
public static Seconds ( this second ) : IEnumerable |
||
second | this | The second. |
return | IEnumerable |
public static Seconds ( this |
||
seconds | this |
The seconds. |
return | Second |
public static WeekDays ( this weekDay ) : IEnumerable |
||
weekDay | this | The week day. |
return | IEnumerable |
public static WeekDays ( this |
||
daysOfWeek | this |
The weekDays. |
return | WeekDay |
public static WeekNumber ( this dateTime, |
||
dateTime | this | The date time. |
calendar | The calendar. | |
calendarWeekRule | CalendarWeekRule | The calendar week rule. |
firstDayOfWeek | DayOfWeek | The first day of week. |
return | int |
public static Weeks ( this week ) : IEnumerable |
||
week | this | The week. |
return | IEnumerable |
public static Weeks ( this |
||
weeks | this |
The weeks. |
return | Week |