Exemplo n.º 1
0
 //# __________ PROTOCOL :: INSTANCE CREATION __________ #//
 public static JwTimeInterval CreateTimeInterval(JwTime start, JwTime end)
 {
     JwTimeInterval ti;
     ti = new JwTimeInterval();
     ti.SetStart(start);
     ti.SetEnd(end);
     return ti;
 }
Exemplo n.º 2
0
 //# __________ PROTOCOL :: COPY __________ #//
 public JwTimeInterval GetTimeIntervalCopy()
 {
     JwTimeInterval e;
     e = new JwTimeInterval();
     if ( HasStart() ) e.SetStart(GetStart().GetTimeCopy());
     if ( HasEnd() )   e.SetEnd(GetEnd().GetTimeCopy());
     return e;
 }