Currently Duration isn't supported by refinements. Basic support should be simple (i.e. Duration + or - Duration) but adding (Instant + Duration => Instant), (Instant - Instant => Duration), (Duration * scalar => Duration) etc. should take more time but be more rewarding.
(from b/178043070)
Currently Duration isn't supported by refinements. Basic support should be simple (i.e. Duration + or - Duration) but adding (Instant + Duration => Instant), (Instant - Instant => Duration), (Duration * scalar => Duration) etc. should take more time but be more rewarding.