Class: Timestamp

Gitana. Timestamp

Timestamp

new Timestamp(object)

Parameters:
Name Type Description
object Object

the timestamp json object

Source:

Methods

getDay() → {Integer}

Source:
Returns:

the day of the month

Type
Integer

getHour() → {Integer}

Source:
Returns:

the hour of the day (24 hour clock)

Type
Integer

getMillisecond() → {Integer}

Source:
Returns:

the millisecond (0-1000)

Type
Integer

getMinute() → {Integer}

Source:
Returns:

the minute

Type
Integer

getMonth() → {Integer}

Source:
Returns:

the month

Type
Integer

getSecond() → {Integer}

Source:
Returns:

the second

Type
Integer

getTime() → {Integer}

Source:
Returns:

absolute millisecond

Type
Integer

getTimestamp() → {String}

Source:
Returns:

text-friendly timestamp

Type
String

getYear() → {Integer}

Source:
Returns:

the year

Type
Integer