IfxDateTime constructors
IfxDateTime(System.Int64 ticks)
The
new instance is set to a value equal to ticks since
midnight on 1 Jan 0001. There are 10 000 000 ticks in one second.The range of the new instance is Year to Fraction5.
Ticks are more precise than Fraction5. The extra precision is ignored by all methods and operators.
IfxDateTime(System.DateTime dt)
The
new instance is set to the same value as dt.
The range of the new instance is Year to Fraction5.IfxDateTime(System.Int32 numUnits, IfxTimeUnit unit)
The
instance has a range of unit to unit.
The value is set to numUnits units past
midnight on 1 Jan 0001.IfxDateTime( System.Int32 numUnits1, System.Int32 numUnits2, IfxTimeUnit end )
IfxDateTime( System.Int32 numUnits1, System.Int32 numUnits2, System.Int32 numUnits3, IfxTimeUnit end )
IfxDateTime( System.Int32 numUnits1, System.Int32 numUnits2, System.Int32 numUnits3, System.Int32 numUnits4, IfxTimeUnit end )
IfxDateTime( System.Int32 numUnits1, System.Int32 numUnits2, System.Int32 numUnits3, System.Int32 numUnits4, System.Int32 numUnits5, IfxTimeUnit end )
IfxDateTime( System.Int32 numUnits1, System.Int32 numUnits2, System.Int32 numUnits3, System.Int32 numUnits4, System.Int32 numUnits5, System.Int32 numUnits6, IfxTimeUnit end )
IfxDateTime( System.Int32 numUnits1, System.Int32 numUnits2, System.Int32 numUnits3, System.Int32 numUnits4, System.Int32 numUnits5, System.Int32 numUnits6, System.Int32 numUnits7, IfxTimeUnit end )
If numUnits1 through numUnits7 are given then there is no start parameter because the start time unit is automatically assumed to be Year; otherwise the range of the new instance is start to end. The end time unit is always required because it determines the precision of the fractional portion.
Values must be provided for all units in the range. The numUnits1 parameter is interpreted as the value for the start time unit. The rest of the values are interpreted as the values of the other time units in the range in order.