Project

General

Profile

Feature #11464

Add a date type

Added by Richard Neswold almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/21/2016
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Many of the protocols we use are for data collection and generally have a timestamp field. Since we don't have a specific type for dates, we typically use the int64 type. We propose adding a date type which gets converted to an appropriate date type in each target language.

Language Maps to
C++ struct timespec
Java java.util.Date class
Javascript Date class
Obj-C NSDate
Erlang erlang:timestamp()
Python class datetime.datetime


Also available in: Atom PDF