Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class DateTime

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Fields

KEY_MILLISECOND

public static final java.lang.String KEY_MILLISECOND
Constant Value
"millisecond"

KEY_SECOND

public static final java.lang.String KEY_SECOND
Constant Value
"second"

KEY_MINUTE

public static final java.lang.String KEY_MINUTE
Constant Value
"minute"

KEY_HOUR

public static final java.lang.String KEY_HOUR
Constant Value
"hour"

KEY_DAY

public static final java.lang.String KEY_DAY
Constant Value
"day"

KEY_MONTH

public static final java.lang.String KEY_MONTH
Constant Value
"month"

KEY_YEAR

public static final java.lang.String KEY_YEAR
Constant Value
"year"

KEY_TZ_HOUR

public static final java.lang.String KEY_TZ_HOUR
Constant Value
"tz_hour"

KEY_TZ_MINUTE

public static final java.lang.String KEY_TZ_MINUTE
Constant Value
"tz_minute"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

DateTime()

public DateTime()

DateTime( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

public DateTime(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash

Methods

getMilliSecond()

Gets the Milliseconds portion of the DateTime class

public java.lang.Integer getMilliSecond()

setMilliSecond( Integer milliSecond )

Sets the Milliseconds portion of the DateTime class

public void setMilliSecond(Integer milliSecond)

Parameters

milliSecond
The milliseconds associated with this DateTime class

getSecond()

Gets the Seconds portion of the DateTime class

public java.lang.Integer getSecond()

setSecond( Integer second )

Sets the Seconds portion of the DateTime class

public void setSecond(Integer second)

Parameters

second
The Seconds associated with this DateTime class

getMinute()

Gets the Minutes portion of the DateTime class

public java.lang.Integer getMinute()

setMinute( Integer minute )

Sets the Minutes portion of the DateTime class

public void setMinute(Integer minute)

Parameters

minute
The Minutes associated with this DateTime class

getHour()

Gets the Hours portion of the DateTime class.

public java.lang.Integer getHour()

setHour( Integer hour )

Sets the Hours portion of the DateTime class.

public void setHour(Integer hour)

Parameters

hour
The Hours associated with this DateTime class. This structure is used to store hours in a 24 hour format.

getDay()

Gets the Day portion of the DateTime class.

public java.lang.Integer getDay()

setDay( Integer day )

Sets the Day portion of the DateTime class

public void setDay(Integer day)

Parameters

day
The Day of the month associated with this DateTime class

getMonth()

Gets the Month portion of the DateTime class.

public java.lang.Integer getMonth()

setMonth( Integer month )

Sets the Month portion of the DateTime class

public void setMonth(Integer month)

Parameters

month
The Month of the year associate with this DateTime class

getYear()

Gets the Year portion of the DateTime class.

public java.lang.Integer getYear()

setYear( Integer year )

Sets the Year portion of the DateTime class

public void setYear(Integer year)

Parameters

year
The Year in YYYY format associated with this DateTime class

getTzHour()

Gets the Time Zone Hours portion of the DateTime class.

public java.lang.Integer getTzHour()

setTzHour( Integer tzHour )

Sets the Time Zone Hours portion of the DateTime class

public void setTzHour(Integer tzHour)

Parameters

tzHour
The time zone offset in Hours with regard to UTC time associated with this DateTime class

getTzMinute()

Gets the Time Zone Minutes portion of the DateTime class.

public java.lang.Integer getTzMinute()

setTzMinute( Integer tzMinute )

Sets the Time Zone Minutes portion of the DateTime class

public void setTzMinute(Integer tzMinute)

Parameters

tzMinute
The time zone offset in Minutes with regard to UTC associated with this DateTime class

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section