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] [Updated] (GEARPUMP-338) refactor time related types and constants
Date Thu, 03 Aug 2017 13:40:00 GMT

     [ https://issues.apache.org/jira/browse/GEARPUMP-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manu Zhang updated GEARPUMP-338:
--------------------------------
    Fix Version/s: 0.8.5

> refactor time related types and constants
> -----------------------------------------
>
>                 Key: GEARPUMP-338
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-338
>             Project: Apache Gearpump
>          Issue Type: Improvement
>    Affects Versions: 0.8.4
>            Reporter: Manu Zhang
>             Fix For: 0.8.5
>
>
> 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