Adjusts input micros to destination timezone.
Adjusts input micros to destination timezone.
Similar to the code in ORC project - https://github.com/apache/orc/blob/rel/release-1.6.7/java/core/src/java/org/apache/orc/impl/SerializationUtils.java#L1395-L1417
the point in time
the timezone we are moving from
the timezone we are moving to
modified micros according to destination timezone
Adjusts input millis to destination timezone.
Adjusts input millis to destination timezone.
Similar to the code in ORC project - https://github.com/apache/orc/blob/rel/release-1.6.7/java/core/src/java/org/apache/orc/impl/SerializationUtils.java#L1395-L1417
the point in time
the timezone we are moving from
the timezone we are moving to
modified milliseconds according to destination timezone
Converts hive Timestamp to JVM timezone, this method assumes that the input hiveTimestamp is always in UTC
Converts hive Timestamp to JVM timezone, this method assumes that the input hiveTimestamp is always in UTC
converted micros
Converts micros from JVM timezone to UTC and returns hive timestamp this method assumes that the input micros is always in JVM timezone
Converts micros from JVM timezone to UTC and returns hive timestamp this method assumes that the input micros is always in JVM timezone
converted micros