PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
56 stars 35 forks source link

Add Refinement support for Duration (with Instant) #7130

Open shans opened 3 years ago

shans commented 3 years ago

(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.