Class SecondInterval
Defines an interval of one second.
Inherited Members
Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class SecondInterval : IntervalBase
Constructors
SecondInterval()
Declaration
public SecondInterval()
Properties
Formatters
Gets a collection of formatters used to convert System.DateTime objects to specific strings.
Declaration
public override Func<DateTime, string>[] Formatters { get; }
Property Value
System.Func<System.DateTime, System.String>[]
A collection of formatters. |
Overrides
Remarks
The Formatters collection is used when CurrentIntervalSpan equals 1; otherwise, the IntervalSpanFormatters collection is used.
IntervalSpanFormatters
Gets a collection of formatters used to convert System.DateTime objects to specific strings.
Declaration
public override Func<DateTime, string>[] IntervalSpanFormatters { get; }
Property Value
System.Func<System.DateTime, System.String>[]
A collection of formatters. |
Overrides
Remarks
The Formatters collection is used when CurrentIntervalSpan equals 1; otherwise, the IntervalSpanFormatters collection is used.
MinimumPeriodLength
Gets the smallest interval period.
Declaration
public override TimeSpan MinimumPeriodLength { get; }
Property Value
System.TimeSpan
The smallest interval period. |
Overrides
Methods
ExtractIntervalStart(DateTime)
Extracts the interval start from a specified System.DateTime object.
Declaration
public override DateTime ExtractIntervalStart(DateTime date)
Parameters
System.DateTime
date
The System.DateTime object. |
Returns
System.DateTime
The interval start date. |
Overrides
IncrementByInterval(DateTime, Int32)
Increments a specified System.DateTime object by a specified number of MinimumPeriodLengths.
Declaration
public override DateTime IncrementByInterval(DateTime date, int intervalSpan)
Parameters
System.DateTime
date
The DateTime object. |
System.Int32
intervalSpan
The number of MinimumPeriodLengths. |
Returns
System.DateTime
The incremented System.DateTime object. |