/*****************************************************************************
* FUNCTION
* mmi_dt_mytime_2_utc_sec
* DESCRIPTION
* convert MYTIME format of time to seconds after 1970/1/1
* PARAMETERS
* currTime [?]
* RETURNS
* void
*****************************************************************************/
kal_int32 mmi_dt_mytime_2_utc_sec(MYTIME *currTime, kal_bool daylightSaving)
/*****************************************************************************
* FUNCTION
* mmi_dt_utc_sec_2_mytime
* DESCRIPTION
* convert from UTC second to MYTIME struct
* PARAMETERS
* utc_sec [IN] Uct_sec
* result [IN] Result of time
* RETURNS
* TRUE if success; otherwise, FALSE.
*****************************************************************************/
kal_uint8 mmi_dt_utc_sec_2_mytime(kal_int32 utc_sec, MYTIME *result, kal_bool daylightSaving)
MTK 和时间相关的两个函数
最新推荐文章于 2019-11-06 16:14:17 发布