Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30760

Port `millisToDays` and `daysToMillis` on Java 8 time API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      Currently, the `millisToDays` and `daysToMillis` methods of DateTimeUtils use Java 7 (and earlier) time API. The implementation is based on combined calendar - Julian + Gregorian. To be consistent to other date-time function, need to port the methods on Java 8 time API.

      Attachments

        Issue Links

          Activity

            People

              maxgekk Max Gekk
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: