Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6949

Use j.u.Date.getTimeOffset() for displacement calculation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      The current code calculates the offset from the current timezone.
      However, java.util.Date and its children (java.sql.Date*) already provide the getTimeOffset()  for the same.

      This has the added benefit that in the unlikely case that we receive the a java.sql.Date that is not in the JVM timezone, then we use its offset correctly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: