Skip to content

Tolerate sub-millisecond differences in TDML dateTime comparison#1682

Open
gdesrosiers1805 wants to merge 1 commit into
apache:mainfrom
gdesrosiers1805:bugfix/daffodil-3086
Open

Tolerate sub-millisecond differences in TDML dateTime comparison#1682
gdesrosiers1805 wants to merge 1 commit into
apache:mainfrom
gdesrosiers1805:bugfix/daffodil-3086

Conversation

@gdesrosiers1805

Copy link
Copy Markdown
Contributor

ICU calendars are millisecond-precision, so fractional microseconds in xs:dateTime values are not preserved on parse. Truncate fractional seconds to milliseconds before building XMLGregorianCalendar for comparison, so sub-millisecond differences are ignored rather than flagged as mismatches.

DAFFODIL-3086

ICU calendars are millisecond-precision, so fractional microseconds in
xs:dateTime values are not preserved on parse. Truncate fractional seconds
to milliseconds before building XMLGregorianCalendar for comparison, so
sub-millisecond differences are ignored rather than flagged as mismatches.

DAFFODIL-3086
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.

1 participant