Show / Hide Table of Contents

Interface IToTimeStampConversionIterator

Provides the DifferenceTicks used to convert from FromTimeZone to Utc timezone at the time given in the last call to MoveTo(Int64). Also provides the direct GetTimeStamp(Int64) method. IMPORTANT!! Inputs must be in SEQUENTIAL ascending chronological order to get correct results from a conversion iterator.

Namespace: FFT.TimeStamps
Assembly: FFT.TimeStamps.dll
Syntax
public interface IToTimeStampConversionIterator

Properties

| Improve this Doc View Source

DifferenceTicks

The difference in ticks for a direct conversion from FromTimeZone to Utc timezone. IMPORTANT!! NOT to be confused with the utc offset for either timezone.

Declaration
long DifferenceTicks { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

FromTimeZone

The timezone that we are converting from.

Declaration
TimeZoneInfo FromTimeZone { get; }
Property Value
Type Description
TimeZoneInfo

Methods

| Improve this Doc View Source

GetTimeStamp(Int64)

Advances the IToTimeStampConversionIterator with an internal call to MoveTo(Int64), then performs a conversion and returns the result as a TimeStamp.

Declaration
TimeStamp GetTimeStamp(long ticksTimeZone)
Parameters
Type Name Description
System.Int64 ticksTimeZone

The time in FromTimeZone expressed in ticks.

Returns
Type Description
TimeStamp
| Improve this Doc View Source

MoveTo(Int64)

Advances the ITimeZoneConversionIterator to the given time expressed as ticks in FromTimeZone. Returns true if DifferenceTicks has changed since the last advance, false otherwise.

Declaration
bool MoveTo(long ticksTimeZone)
Parameters
Type Name Description
System.Int64 ticksTimeZone
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX