diff options
author | Jacob Keeler <jacob.keeler@livioradio.com> | 2017-02-27 15:45:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-27 15:45:09 -0500 |
commit | 3c1d6afe7379ce71b81be60bc5b9a923e33cc35c (patch) | |
tree | 299b5e14a291d9c0f4cebb2c823d506e8b47e873 /src/components/interfaces | |
parent | 05ab3a5b5d0e0857eb1bd8b7814ba7bdc0ff2a68 (diff) | |
parent | 6dab8b10ee95e05ef478b5b60180493a2e275004 (diff) | |
download | sdl_core-3c1d6afe7379ce71b81be60bc5b9a923e33cc35c.tar.gz |
Merge pull request #1316 from smartdevicelink/hotfix/DateTime_implementation_fixes
Fix DateTime implementation
Diffstat (limited to 'src/components/interfaces')
-rw-r--r-- | src/components/interfaces/HMI_API.xml | 53 | ||||
-rw-r--r-- | src/components/interfaces/MOBILE_API.xml | 55 |
2 files changed, 57 insertions, 51 deletions
diff --git a/src/components/interfaces/HMI_API.xml b/src/components/interfaces/HMI_API.xml index 022053f96a..bba3579680 100644 --- a/src/components/interfaces/HMI_API.xml +++ b/src/components/interfaces/HMI_API.xml @@ -1981,31 +1981,34 @@ <!--end of IVI part--> <struct name="DateTime"> - <param name="second" type="Integer" minvalue="0" maxvalue="60" mandatory="true"> - <description>Seconds part of time</description> - </param> - <param name="minute" type="Integer" minvalue="0" maxvalue="59" mandatory="true"> - <description>Minutes part of time</description> - </param> - <param name="hour" type="Integer" minvalue="0" maxvalue="23" mandatory="true"> - <description>Hours part of time. Note that this structure accepts time only in 24 Hr format</description> - </param> - <param name="day" type="Integer" minvalue="1" maxvalue="31" mandatory="true"> - <description>Day of the month</description> - </param> - <param name="month" type="Integer" minvalue="1" maxvalue="12" mandatory="true"> - <description>Month of the year</description> - </param> - <param name="year" type="Integer" maxvalue="4095" mandatory="true"> - <description>The year in YYYY format</description> - </param> - <param name="tz_hour" type="Integer" minvalue="-12" maxvalue="14" defvalue="0" mandatory="true"> - <description>Time zone offset in Hours wrt UTC.</description> - </param> - <param name="tz_minute" type="Integer" minvalue="0" maxvalue="59" defvalue="0" mandatory="true"> - <description>Time zone offset in Min wrt UTC.</description> - </param> - </struct> + <param name="millisecond" type="Integer" minvalue="0" maxvalue="999" mandatory="false"> + <description>Milliseconds </description> + </param> + <param name="second" type="Integer" minvalue="0" maxvalue="60" mandatory="false"> + <description>Seconds part of time</description> + </param> + <param name="minute" type="Integer" minvalue="0" maxvalue="59" mandatory="false"> + <description>Minutes part of time</description> + </param> + <param name="hour" type="Integer" minvalue="0" maxvalue="23" mandatory="false"> + <description>Hours part of time. Note that this structure accepts time only in 24 Hr format</description> + </param> + <param name="day" type="Integer" minvalue="1" maxvalue="31" mandatory="false"> + <description>Day of the month</description> + </param> + <param name="month" type="Integer" minvalue="1" maxvalue="12" mandatory="false"> + <description>Month of the year</description> + </param> + <param name="year" type="Integer" maxvalue="4095" mandatory="false"> + <description>The year in YYYY format</description> + </param> + <param name="tz_hour" type="Integer" minvalue="-12" maxvalue="14" defvalue="0" mandatory="false"> + <description>Time zone offset in Hours wrt UTC.</description> + </param> + <param name="tz_minute" type="Integer" minvalue="0" maxvalue="59" defvalue="0" mandatory="false"> + <description>Time zone offset in Min wrt UTC.</description> + </param> +</struct> <struct name="OASISAddress"> <param name="countryName" minlength="0" maxlength="200" type="String" mandatory="false"> diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml index 3bf347b605..5bbce3f602 100644 --- a/src/components/interfaces/MOBILE_API.xml +++ b/src/components/interfaces/MOBILE_API.xml @@ -2277,32 +2277,35 @@ <element name="notification" value="2" />
</enum>
- <struct name="DateTime">
- <param name="second" type="Integer" minvalue="0" maxvalue="60" mandatory="true">
- <description>Seconds part of time</description>
- </param>
- <param name="minute" type="Integer" minvalue="0" maxvalue="59" mandatory="true">
- <description>Minutes part of time</description>
- </param>
- <param name="hour" type="Integer" minvalue="0" maxvalue="23" mandatory="true">
- <description>Hours part of time. Note that this structure accepts time only in 24 Hr format</description>
- </param>
- <param name="day" type="Integer" minvalue="1" maxvalue="31" mandatory="true">
- <description>Day of the month</description>
- </param>
- <param name="month" type="Integer" minvalue="1" maxvalue="12" mandatory="true">
- <description>Month of the year</description>
- </param>
- <param name="year" type="Integer" maxvalue="4095" mandatory="true">
- <description>The year in YYYY format</description>
- </param>
- <param name="tz_hour" type="Integer" minvalue="-12" maxvalue="14" defvalue="0" mandatory="true">
- <description>Time zone offset in Hours wrt UTC.</description>
- </param>
- <param name="tz_minute" type="Integer" minvalue="0" maxvalue="59" defvalue="0" mandatory="true">
- <description>Time zone offset in Min wrt UTC.</description>
- </param>
- </struct>
+ <struct name="DateTime">
+ <param name="millisecond" type="Integer" minvalue="0" maxvalue="999" mandatory="false">
+ <description>Milliseconds </description>
+ </param>
+ <param name="second" type="Integer" minvalue="0" maxvalue="60" mandatory="false">
+ <description>Seconds part of time</description>
+ </param>
+ <param name="minute" type="Integer" minvalue="0" maxvalue="59" mandatory="false">
+ <description>Minutes part of time</description>
+ </param>
+ <param name="hour" type="Integer" minvalue="0" maxvalue="23" mandatory="false">
+ <description>Hours part of time. Note that this structure accepts time only in 24 Hr format</description>
+ </param>
+ <param name="day" type="Integer" minvalue="1" maxvalue="31" mandatory="false">
+ <description>Day of the month</description>
+ </param>
+ <param name="month" type="Integer" minvalue="1" maxvalue="12" mandatory="false">
+ <description>Month of the year</description>
+ </param>
+ <param name="year" type="Integer" maxvalue="4095" mandatory="false">
+ <description>The year in YYYY format</description>
+ </param>
+ <param name="tz_hour" type="Integer" minvalue="-12" maxvalue="14" defvalue="0" mandatory="false">
+ <description>Time zone offset in Hours wrt UTC.</description>
+ </param>
+ <param name="tz_minute" type="Integer" minvalue="0" maxvalue="59" defvalue="0" mandatory="false">
+ <description>Time zone offset in Min wrt UTC.</description>
+ </param>
+ </struct>
<enum name="WayPointType">
<description>Describes what kind of waypoint is requested/provided.</description>
|