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

Overload isvalid, etc. for ZonedDateTimes #18

Open
glennmoy opened this issue Oct 31, 2022 · 0 comments
Open

Overload isvalid, etc. for ZonedDateTimes #18

glennmoy opened this issue Oct 31, 2022 · 0 comments

Comments

@glennmoy
Copy link
Contributor

Since LaxZonedDateTime extends/generalises the functionality of the Dates and TimeZones interface, it would be nice if the methods defined in this package were backwards-compatible, i.e. if we could overload isvalid, isinvalid, isambiguous, isnonexistent for DateTimes and ZonedDateTimes.

This is useful in cases where ZonedDateTimes/LaxZonedDateTimes are used interchangeably but the is conditional behavoiur whether the time variable given isvalid or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant