Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lastMoment getter to Interval #1280

Merged
merged 2 commits into from
Aug 3, 2024
Merged

Add lastMoment getter to Interval #1280

merged 2 commits into from
Aug 3, 2024

Commits on Sep 3, 2022

  1. 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.
    ties-s authored Sep 3, 2022
    Configuration menu
    Copy the full SHA
    011eaff View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Change function name

    ties-s authored Aug 18, 2023
    Configuration menu
    Copy the full SHA
    d0a2f1a View commit details
    Browse the repository at this point in the history