Skip to content

Release 3.2.5

Compare
Choose a tag to compare
@gkellogg gkellogg released this 23 Feb 01:35
· 79 commits to develop since this release
  • Adds Temporal literal as superclass of Date, Time, and DateTime.
    • Adds #adjust_to_timezone (and #adjust_to_timezone!) based on XPath function. Takes either a [+1]HH:MM or an xsd:dayTimeDuration restricted to hours and minutes.
    • Adds <=> comparison operator.
    • Adds #year, #month, #day, #hours, #minutes, and #seconds accessors.
    • Add and subtract temporals with each other and durations, per XPath/XQuery functions spec.
  • Updates to Date literal:
    • Object base is now ::DateTime instead of ::Date to record and manipulate timezone.
    • Better conformance to XSD and XPath specs.
  • Updates to DateTime literal:
    • Better conformance to XSD and XPath specs.
      *Add XPath math functions and constants to Literal::Numeric. PI, #exp, #exp10, #log, #log10, #sqrt, #sin, #cos, #tan, #asin, #acos, #atan, #atan2.