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 Date comparison functions #34

Open
amikheychik opened this issue Nov 30, 2023 · 0 comments
Open

Add Date comparison functions #34

amikheychik opened this issue Nov 30, 2023 · 0 comments
Labels
package:date Issues for the @perfective/common/date package

Comments

@amikheychik
Copy link
Contributor

Add functions:

  • isSame(Date): Predicate<Date>
  • isBefore(Date): Predicate<Date>
  • isAfter(Date): Predicate<Date>

Consider adding corresponding functions to compare just Date and Time parts.

Also consider comparing two Date values setting one of the values with an explicit timezone.

@amikheychik amikheychik added the package:date Issues for the @perfective/common/date package label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:date Issues for the @perfective/common/date package
Projects
None yet
Development

No branches or pull requests

1 participant