internal IfcWorkTime(DatabaseIfc db, IfcRecurrencePattern recur, DateTime start, DateTime finish) : base(db) { if (recur != null) { mRecurrencePattern = recur.mIndex; } if (start != DateTime.MinValue) { mStart = IfcDate.convert(start); } if (finish != DateTime.MinValue) { mFinish = IfcDate.convert(finish); } }
internal IfcWorkTime(DatabaseIfc m, string name, IfcDataOriginEnum origin, string userOrigin, IfcRecurrencePattern recur, DateTime start, DateTime finish) : base(m, name, origin, userOrigin) { if (recur != null) { mRecurrencePattern = recur.mIndex; } if (start != DateTime.MinValue) { mStart = IfcDate.convert(start); } if (finish != DateTime.MinValue) { mFinish = IfcDate.convert(finish); } }