Skip to content

Conversation

muditchaudhary
Copy link
Contributor

Overview

Fixes DateTime (#328) to support extreme time zones. Java DateTIme cannot handle extreme timezones (E.g., +2359, -2359). However, these are valid in Cedar. It now support all valid Cedar Datetime values 0000-01-01T00:00:00+2359 to 9999-12-31T23:59:59-2359.

Changes

  • Introduces additional parsing methods to handle timezones instead of relying on Java DateTime.
  • Adds comprehensive tests to validate the changes. Borrows some Datetime tests from Cedar-spec

@muditchaudhary muditchaudhary marked this pull request as ready for review October 1, 2025 19:54
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

Successfully merging this pull request may close these issues.

2 participants