Period has a constructor that takes two ReadableInstant
instances:
Period diff = new Period(start, end);
(ReadableInstant
is an interface implemented by DateTime
, as well as other classes.)
Period has a constructor that takes two ReadableInstant
instances:
Period diff = new Period(start, end);
(ReadableInstant
is an interface implemented by DateTime
, as well as other classes.)