public ExprTimePeriodEvalDeltaConstGivenDtxAdd(
     ExprTimePeriodImpl.TimePeriodAdder[] adders,
     int[] added,
     TimeZoneInfo timeZone,
     TimeAbacus timeAbacus)
 {
     _iLock             = LockManager.CreateLock(MethodBase.GetCurrentMethod().DeclaringType);
     _adders            = adders;
     _added             = added;
     _dateTime          = new DateTimeEx(DateTimeOffset.Now, timeZone);
     _timeAbacus        = timeAbacus;
     _indexMicroseconds = ExprTimePeriodUtil.FindIndexMicroseconds(adders);
 }
Exemple #2
0
 public ExprTimePeriodEvalDeltaNonConstDtxAdd(TimeZoneInfo timeZone, ExprTimePeriodImpl parent)
 {
     _parent            = parent;
     _dateTime          = new DateTimeEx(DateTimeOffsetHelper.Now(timeZone), timeZone);
     _indexMicroseconds = ExprTimePeriodUtil.FindIndexMicroseconds(parent.Adders);
 }