amazon-ion / ion-schema-rust

Rust implementation of Ion Schema
https://amazon-ion.github.io/ion-schema/sandbox
Apache License 2.0
13 stars 6 forks source link

adds changes for `timestamp_offset` constraint #131

Closed desaikd closed 1 year ago

desaikd commented 1 year ago

Issue #9 #10

Description of changes: This PR works on adding implementation of timestamp_offset constraint.

Grammar:

timestamp_offset: [ "[+|-]hh:mm"... ]

Ion Schema specification: https://amzn.github.io/ion-schema/docs/isl-1-0/spec#timestamp_offset

List of changes:

Tests: added unit tests for timestamp_offset implementation.