Namespace FFT.TimeStamps
Classes
ConversionIterators
Provides methods for creating ITimeZoneConversionIterator and IToTimeStampConversionIterator.
DateTimes
Contains methods for manipulating
PeriodOfTime
Represents the beginning and end of a time period.
PeriodOfWeekIterator
This class allows you to keep track of the current time in terms of "periods of the week" in a specific timezone.
Ticks
Contains methods for manipulating time when it is represented in ticks (ten-millionths of a second).
TimeStamp.TimeStampJsonConverter
This is the default
TimeZoneCalculator
Use this class to get extremely fast timezone conversion data. see Article.
TimeZoneCalculator.TimeZoneSegment
Represents a period of time in which a particular timezone has a consistent properties such as offset from UTC, ambiguity and validity.
Structs
DateStamp
Use this class to specify a particular date in the Gregorian calendar. Its intent to to be very clear that it represents a DATE, and not a moment in time, and to properly serialize and deserialize as such without the influence of timezone conversions.
MonthStamp
Use this class to specify a particular month in the Gregorian calendar. Its intent to to be very clear that it is a MONTH, and not a moment in time, and to properly serialize and deserialize as such without the influence of timezone conversions.
TimeOfWeek
Expresses a day and time as a point in the week. Comparison operators assume the beginning of the week is midnight, Sunday.
TimeStamp
Use this to get extremely fast timestamping when:
- Your primary purpose is fast, efficient storage of exact times, across multiple timezones.
- You run very frequent comparisons of timestamps, possibly as a way of comparing across multiple timezones.
- You DON'T often need to extract string representations, or get the day/month/year/hour/minute/second properties (compute intensive).
Interfaces
IFromTimeStampConversionIterator
Provides the DifferenceTicks used to convert from a TimeStamp to ToTimeZone
at the time given in the last call to MoveTo(Int64).
Also provides methods to directly convert a TimeStamp to a
ITimeZoneConversionIterator
Provides the DifferenceTicks used to convert from FromTimeZone to ToTimeZone at the time given in the last call to MoveTo(Int64). IMPORTANT!! Inputs must be in SEQUENTIAL ascending chronological order to get correct results from a conversion iterator.
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.
Enums
TimeKind
Use this to indicate whether time is being expressed in the utc timezone or some other specific (known) timezone.