Class DateHelper
Inheritance
System.Object
DateHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public static class DateHelper
Methods
GetDateWithOffset(DateTime, NavigationStepTypes, Int32, RadScheduler)
GetEndOfDay(DateTime)
Declaration
public static DateTime GetEndOfDay(DateTime day)
Parameters
System.DateTime
day
|
Returns
System.DateTime
|
GetEndOfMonth(DateTime, DateTimeFormatInfo)
Declaration
public static DateTime GetEndOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
Returns
System.DateTime
|
GetEndOfWeek(DateTime, DateTimeFormatInfo)
Declaration
public static DateTime GetEndOfWeek(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
Returns
System.DateTime
|
GetEndOfWeek(DateTime, DateTimeFormatInfo, DayOfWeek)
Declaration
public static DateTime GetEndOfWeek(DateTime date, DateTimeFormatInfo dateTimeFormat, DayOfWeek weekStart)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
System.DayOfWeek
weekStart
|
Returns
System.DateTime
|
GetEndOfYear(DateTime, DateTimeFormatInfo)
Declaration
public static DateTime GetEndOfYear(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
Returns
System.DateTime
|
GetMonthDisplayWeeks(DateTime, DateTimeFormatInfo)
Declaration
public static int GetMonthDisplayWeeks(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
Returns
System.Int32
|
GetStartOfMonth(DateTime)
Declaration
public static DateTime GetStartOfMonth(DateTime date)
Parameters
System.DateTime
date
|
Returns
System.DateTime
|
GetStartOfMonth(DateTime, DateTimeFormatInfo)
Declaration
public static DateTime GetStartOfMonth(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
Returns
System.DateTime
|
GetStartOfWeek(DateTime, DateTimeFormatInfo)
Declaration
public static DateTime GetStartOfWeek(DateTime date, DateTimeFormatInfo dateTimeFormat)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
Returns
System.DateTime
|
GetStartOfWeek(DateTime, DateTimeFormatInfo, DayOfWeek)
Declaration
public static DateTime GetStartOfWeek(DateTime date, DateTimeFormatInfo dateTimeFormat, DayOfWeek weekStart)
Parameters
System.DateTime
date
|
System.Globalization.DateTimeFormatInfo
dateTimeFormat
|
System.DayOfWeek
weekStart
|
Returns
System.DateTime
|
GetStartOfYear(DateTime)
Declaration
public static DateTime GetStartOfYear(DateTime date)
Parameters
System.DateTime
date
|
Returns
System.DateTime
|