YearInterval
Class
Defines an interval of one year.
Definition
Namespace:Telerik.Windows.Controls.TimeBar
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
C#
public sealed class YearInterval : IntervalBase
Inheritance: objectIntervalBaseYearInterval
Inherited Members
Constructors
C#
public YearInterval()
Properties
Gets a collection of formatters used to convert DateTime objects to specific strings.
C#
public override Func<DateTime, string>[] Formatters { get; }
A collection of formatters.
Overrides:
Remarks:
The Formatters collection is used when CurrentIntervalSpan equals 1; otherwise, the IntervalSpanFormatters collection is used.
Gets the smallest interval period.
C#
public override TimeSpan MinimumPeriodLength { get; }
The smallest interval period.
Overrides:
Methods
Increments a specified DateTime object by a specified number of MinimumPeriodLengths.
C#
public override DateTime IncrementByInterval(DateTime date, int intervalSpan)
The DateTime object.
intervalSpanintThe number of MinimumPeriodLengths.
Returns:The incremented DateTime object.
Overrides: