Issue #2584 : Add Calculator conversions between JDE Julian and ISO dates - #8257
Open
mattcasters wants to merge 1 commit into
Open
Issue #2584 : Add Calculator conversions between JDE Julian and ISO dates#8257mattcasters wants to merge 1 commit into
mattcasters wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2584
The Calculator transform can convert JD Edwards Julian dates (
CYYDDD) to and from Hop dates, so this no longer needs a JavaScript workaround.Two new calculations appear in the Calculator Calculation dropdown:
DATE_TO_JDE_JULIAN) → IntegerJDE_JULIAN_TO_DATE) → DateCYYDDDmatches the sample from the issue:0= 1900–1999,1= 2000–2099)001–366)Examples:
95001is 1995-01-01,109001is 2009-01-01,111013is 2011-01-13. Five-digit values such as95001are accepted. Julian input can be Integer, Number, or String.Years before 1900 and invalid day-of-year values raise an error.
Also includes user-manual entries, sample pipeline
calculator-jde-julian.hpl, unit tests, and an integration test.Calculator module tests and
apache-rat:checkpassed locally. Fullmvn clean install apache-rat:checkwas not run locally.addresses #123), if applicable.