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

Metapath functions for date and time comparisons #367

Closed
17 tasks
aj-stein-gsa opened this issue Feb 24, 2025 · 2 comments
Closed
17 tasks

Metapath functions for date and time comparisons #367

aj-stein-gsa opened this issue Feb 24, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@aj-stein-gsa
Copy link
Contributor

User Story

As a developer of Metaschema-enabled tooling, in order to compare two or more date or times, I would like functions for comparing dates and times implemented in the Metapath default function library registry.

Goals

  • op:dateTime-equal
  • op:dateTime-less-than
  • op:dateTime-greater-than
  • op:date-equal
  • op:date-less-than
  • op:date-greater-than
  • op:time-equal
  • op:time-less-than
  • op:time-greater-than
  • op:gYearMonth-equal
  • op:gYear-equal
  • op:gMonthDay-equal
  • op:gMonth-equal
  • op:gDay-equal

Dependencies

No response

Acceptance Criteria

  • All website and readme documentation affected by the changes in this issue have been updated.
  • A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.

Revisions

No response

@aj-stein-gsa aj-stein-gsa added the enhancement New feature or request label Feb 24, 2025
aj-stein-gsa added a commit to aj-stein-gsa/metaschema-java that referenced this issue Feb 25, 2025
We have a basic implementation working, but grasping at straws to use
the dyanmicContext to get the ImplicitTimeZone and add it to args for
comparison per the spec.
@david-waltermire
Copy link
Contributor

@aj-stein-gsa The operation functions are not intended to be exposed for use as functions. Instead, this logic supports the comparison operators. PR #346 is ensuring the implementation aligns with the specification. Once this is done, you should have the support you need.

@aj-stein-gsa
Copy link
Contributor Author

Closing per #368 (comment). Will open new issue for Component extraction functions on dates and times
shortly.

@github-project-automation github-project-automation bot moved this from To Triage to Done in Spec and Tooling Work Board Feb 25, 2025
@aj-stein-gsa aj-stein-gsa reopened this Feb 25, 2025
@aj-stein-gsa aj-stein-gsa closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants