Class
CalendarDate
ConsoleMonster.Dates
Gregorian date arithmetic shared by calendar displays and date editors on every target framework.
Inheritance
- object
- CalendarDate
Methods
public static int IsoWeek(DateTime date, out int weekYear) #Returns the ISO 8601 week number and its week-year, independently of the display culture.
Parameters
- date System.DateTime
- weekYear int
Returns
intpublic static DateTime Normalize(DateTime date) #Preserves year, month and day; drops time and kind without a time-zone conversion.
Parameters
- date System.DateTime
Returns
DateTime