Inheritance: BaseClassIfc
Example #1
0
 internal static void parseFields(IfcLocalTime s, List <string> arrFields, ref int ipos)
 {
     s.mHourComponent        = int.Parse(arrFields[ipos++]);
     s.mMinuteComponent      = ParserSTEP.ParseInt(arrFields[ipos++]);
     s.mSecondComponent      = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mZone                 = ParserSTEP.ParseLink(arrFields[ipos++]);
     s.mDaylightSavingOffset = int.Parse(arrFields[ipos++]);
 }
Example #2
0
 internal IfcLocalTime(DatabaseIfc db, IfcLocalTime t) : base(db, t)
 {
     mHourComponent        = t.mHourComponent;
     mMinuteComponent      = t.mMinuteComponent;
     mSecondComponent      = t.mSecondComponent;
     mZone                 = t.mZone;
     mDaylightSavingOffset = t.mDaylightSavingOffset;
 }
Example #3
0
 internal static IfcLocalTime Parse(string strDef)
 {
     IfcLocalTime t = new IfcLocalTime(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return(t);
 }
Example #4
0
		internal IfcDateAndTime(IfcCalendarDate d, IfcLocalTime t) : base(d.mDatabase) { mDateComponent = d.mIndex; mTimeComponent = t.mIndex; }
Example #5
0
 internal static void parseFields(IfcLocalTime s, List<string> arrFields, ref int ipos)
 {
     s.mHourComponent = int.Parse(arrFields[ipos++]);
     s.mMinuteComponent = ParserSTEP.ParseInt(arrFields[ipos++]);
     s.mSecondComponent = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mZone = ParserSTEP.ParseLink(arrFields[ipos++]);
     s.mDaylightSavingOffset = int.Parse(arrFields[ipos++]);
 }
Example #6
0
 internal static IfcLocalTime Parse(string strDef)
 {
     IfcLocalTime t = new IfcLocalTime(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return t;
 }
Example #7
0
 internal IfcLocalTime(DatabaseIfc db, IfcLocalTime t)
     : base(db,t)
 {
     mHourComponent = t.mHourComponent;
     mMinuteComponent = t.mMinuteComponent;
     mSecondComponent = t.mSecondComponent;
     mZone = t.mZone;
     mDaylightSavingOffset = t.mDaylightSavingOffset;
 }