示例#1
0
 public JwDuration Difference(JwTime t)
 {
     long a = GetOrdinal();
     long b = t.GetOrdinal();
     long c = Math.Abs(a-b);
     JwDuration e = new JwDuration();
     e.SetOrdinal(c);
     return e;
 }
示例#2
0
 //# __________ PROTOCOL :: COPY __________ #//
 public JwDuration GetDurationCopy()
 {
     JwDuration e = new JwDuration();
     e.SetOrdinal(_ordinal);
     return e;
 }