Istvan Toth created PHOENIX-6949: ------------------------------------ Summary: Use j.u.Date.getTimeOffset() for displacement calculation Key: PHOENIX-6949 URL: https://issues.apache.org/jira/browse/PHOENIX-6949 Project: Phoenix Issue Type: Bug Components: core Reporter: Istvan Toth
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 imn the unlikely case that we receive the a java.sql.Date that is not in the JVM timezone, then we use its offset correctly. -- This message was sent by Atlassian Jira (v8.20.10#820010)