public class StartTime extends RPCStruct
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 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_HOURS |
static String |
KEY_MINUTES |
static String |
KEY_SECONDS |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
StartTime()
Constructs a newly allocated StartTime object
|
StartTime(Hashtable<String,Object> hash)
Constructs a newly allocated StartTime object indicated by the Hashtable parameter
|
StartTime(Integer timeInterval)
Constructs a newly allocated StartTime object
|
StartTime(Integer hours,
Integer minutes,
Integer seconds)
Constructs a newly allocated StartTime object
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getHours()
Get the hour.
|
Integer |
getMinutes()
Get the minute.
|
Integer |
getSeconds()
Get the second.
|
StartTime |
setHours(Integer hours)
Set the hour.
|
StartTime |
setMinutes(Integer minutes)
Set the minute.
|
StartTime |
setSeconds(Integer seconds)
Set the second.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_MINUTES
public static final String KEY_SECONDS
public static final String KEY_HOURS
public StartTime()
public StartTime(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic StartTime(@NonNull
Integer timeInterval)
timeInterval - time interval in secondspublic Integer getHours()
Note:
Some display types only support a max value of 19. If out of range, it will be rejected.public StartTime setHours(@NonNull Integer hours)
Note:
Some display types only support a max value of 19. If out of range, it will be rejected.hours - min: 0; max: 59public Integer getMinutes()
public StartTime setMinutes(@NonNull Integer minutes)
minutes - min: 0; max: 59public Integer getSeconds()