Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lastMoment getter to Interval (#1280)
* Add lastMoment getter to Interval Convenient way to get the last moment that is actually included in the interval. Makes it easier to properly use the fact that intervals are half open. My use case: displaying end date of a monthly subscription. I'm not sure `lastMoment` is the best way to name this, but it was the first thing that I thought of. * Change function name
- Loading branch information