gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEARPUMP-338) refactor time related types and constants
Date Thu, 03 Aug 2017 13:40:00 GMT
Manu Zhang created GEARPUMP-338:
-----------------------------------

             Summary: refactor time related types and constants
                 Key: GEARPUMP-338
                 URL: https://issues.apache.org/jira/browse/GEARPUMP-338
             Project: Apache Gearpump
          Issue Type: Improvement
            Reporter: Manu Zhang


Currently, there is a type {{TimeStamp}} in package object {{gearpump}}. It's unclear what
the time unit is, seconds or milliseconds. There are also constants {{MAX_TIME_MILLIS}} and
{{MIN_TIME_MILLIS}} for maximum and minimum valid timestamps in milliseconds. All of them
are not easy to find out and import from the package object.

Propose to move them into a new object singleton {{Time}} and rename type {{TimeStamp}} to
{{MilliSeconds}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message