You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/05/08 07:24:00 UTC
[jira] [Updated] (PHOENIX-6949) Use j.u.Date.getTimeOffset() for displacement calculation
[ https://issues.apache.org/jira/browse/PHOENIX-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated PHOENIX-6949:
---------------------------------
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.-
was:
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.
> 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
> Priority: Major
>
> 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.-
--
This message was sent by Atlassian Jira
(v8.20.10#820010)