WeekInterval
Defines an interval of one week.
Definition
Namespace:Telerik.Windows.Controls.TimeBar
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public sealed class WeekInterval : IntervalBase
Inheritance: objectIntervalBaseWeekInterval
Inherited Members
Constructors
public WeekInterval()
Properties
Gets the first day of the week.
public static DayOfWeek FirstDayOfWeek { get; }
An enumeration value that represents the first day of the week.
Gets a collection of formatters used to convert DateTime objects to specific strings.
public override Func<DateTime, string>[] Formatters { get; }
A collection of formatters.
Overrides:
The Formatters collection is used when CurrentIntervalSpan equals 1; otherwise, the IntervalSpanFormatters collection is used.
Gets the smallest interval period.
public override TimeSpan MinimumPeriodLength { get; }
The smallest interval period.
Overrides:
Methods
Returns the week of the year that includes the date in the specified DateTime value.
Increments a specified DateTime object by a specified number of MinimumPeriodLengths.
public override DateTime IncrementByInterval(DateTime date, int intervalSpan)
The DateTime object.
intervalSpanintThe number of MinimumPeriodLengths.
Returns:The incremented DateTime object.
Overrides: