Show / Hide Table of Contents

Class ConversionIterators

Provides methods for creating ITimeZoneConversionIterator and IToTimeStampConversionIterator.

Inheritance
System.Object
ConversionIterators
Namespace: FFT.TimeStamps
Assembly: FFT.TimeStamps.dll
Syntax
public sealed class ConversionIterators : object

Methods

| Improve this Doc View Source

Create(TimeZoneInfo, TimeZoneInfo)

Creates a ITimeZoneConversionIterator that is capable of providing the offset of a converstion between fromTimeZone and toTimeZone. IMPORTANT!! Inputs must be in SEQUENTIAL ascending chronological order to get correct results from a conversion iterator.

Declaration
public static ITimeZoneConversionIterator Create(TimeZoneInfo fromTimeZone, TimeZoneInfo toTimeZone)
Parameters
Type Name Description
TimeZoneInfo fromTimeZone
TimeZoneInfo toTimeZone
Returns
Type Description
ITimeZoneConversionIterator
| Improve this Doc View Source

FromTimeStamp(TimeZoneInfo)

Creates an IFromTimeStampConversionIterator that converts TimeStamp values into their equivalant and values. IMPORTANT!! Inputs must be in SEQUENTIAL ascending chronological order to get correct results from a conversion iterator.

Declaration
public static IFromTimeStampConversionIterator FromTimeStamp(TimeZoneInfo toTimeZone)
Parameters
Type Name Description
TimeZoneInfo toTimeZone
Returns
Type Description
IFromTimeStampConversionIterator
| Improve this Doc View Source

ToTimeStamp(TimeZoneInfo)

Creates an IToTimeStampConversionIterator that converts sequential and values into their equivalant TimeStamp values. IMPORTANT!! Inputs must be in SEQUENTIAL ascending chronological order to get correct results from a conversion iterator.

Declaration
public static IToTimeStampConversionIterator ToTimeStamp(TimeZoneInfo fromTimeZone)
Parameters
Type Name Description
TimeZoneInfo fromTimeZone
Returns
Type Description
IToTimeStampConversionIterator
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX