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

Class StartTime

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Describes the hour, minute and second values used to set the media clock.

Parameter List

Name Type Description SmartDeviceLink Ver. Available
hours Integer The hour. Minvalue="0", maxvalue="59"

Note:

Some display types only support a max value of 19. If out of range, it will be rejected.
SmartDeviceLink 1.0
minutes Integer The minute. Minvalue="0", maxvalue="59". SmartDeviceLink 1.0
seconds Integer The second. Minvalue="0", maxvalue="59". SmartDeviceLink 1.0

Fields

KEY_MINUTES

public static final java.lang.String KEY_MINUTES
Constant Value
"minutes"

KEY_SECONDS

public static final java.lang.String KEY_SECONDS
Constant Value
"seconds"

KEY_HOURS

public static final java.lang.String KEY_HOURS
Constant Value
"hours"

Inherited Fields

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

Constructors

StartTime()

Constructs a newly allocated StartTime object

public StartTime()

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

Constructs a newly allocated StartTime object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

StartTime( Integer hours, Integer minutes, Integer seconds )

Constructs a newly allocated StartTime object

public StartTime(Integer hours,Integer minutes,Integer seconds)

Parameters

hours
The hour
minutes
The minute
seconds
The second

Methods

getHours()

Get the hour. Minvalue="0", maxvalue="59"

Note:

Some display types only support a max value of 19. If out of range, it will be rejected.

public java.lang.Integer getHours()

setHours( Integer hours )

Set the hour. Minvalue="0", maxvalue="59"

Note:

Some display types only support a max value of 19. If out of range, it will be rejected.

public void setHours(Integer hours)

Parameters

hours
min: 0; max: 59

getMinutes()

Get the minute. Minvalue="0", maxvalue="59".

public java.lang.Integer getMinutes()

setMinutes( Integer minutes )

Set the minute. Minvalue="0", maxvalue="59".

public void setMinutes(Integer minutes)

Parameters

minutes
min: 0; max: 59

getSeconds()

Get the second. Minvalue="0", maxvalue="59".

public java.lang.Integer getSeconds()

setSeconds( Integer seconds )

Set the second. Minvalue="0", maxvalue="59".

public void setSeconds(Integer seconds)

Parameters

seconds
min: 0 max: 59

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