Esempio n. 1
0
 //# __________ PROTOCOL :: INSTANCE CREATION __________ #//
 public static JwTimestampInterval Create(JwTimestamp start, JwTimestamp end)
 {
     JwTimestampInterval ti;
     ti = new JwTimestampInterval();
     ti.SetStart(start);
     ti.SetEnd(end);
     return ti;
 }
Esempio n. 2
0
 //# __________ PROTOCOL :: COPY __________ #//
 public JwTimestampInterval GetTimestampIntervalCopy()
 {
     JwTimestampInterval e;
     e = new JwTimestampInterval();
     if ( HasStart() ) e.SetStart(GetStart().GetTimestampCopy());
     if ( HasEnd() )   e.SetEnd(GetEnd().GetTimestampCopy());
     return e;
 }