Class: Timestamp

Gitana. Timestamp

Timestamp


new Timestamp(object)

Parameters:
Name Type Description
object Object

the timestamp json object

Source:

Methods


getDay()

Source:
Returns:

the day of the month

Type
Integer

getHour()

Source:
Returns:

the hour of the day (24 hour clock)

Type
Integer

getMillisecond()

Source:
Returns:

the millisecond (0-1000)

Type
Integer

getMinute()

Source:
Returns:

the minute

Type
Integer

getMonth()

Source:
Returns:

the month

Type
Integer

getSecond()

Source:
Returns:

the second

Type
Integer

getTime()

Source:
Returns:

absolute millisecond

Type
Integer

getTimestamp()

Source:
Returns:

text-friendly timestamp

Type
String

getYear()

Source:
Returns:

the year

Type
Integer