LinuxSDK  V1.4.0.5
Data Fields
SWI_STRUCT_DeviceTime Struct Reference

#include <SwiApiCmBasic.h>

Data Fields

swi_uint32 sizeStruct
 
swi_uint32 nYear
 
enum SWI_TYPE_Month eMonth
 
swi_uint32 nDay
 
enum SWI_TYPE_WeekDay eWeekDay
 
swi_uint32 nHour
 
swi_uint32 nMinute
 
swi_uint32 nSecond
 
swi_int32 nTimeZone
 
enum SWI_TYPE_DaylightSavings eDaylightSavings
 

Detailed Description

This structure contains device time information.

See Also
SwiGetDeviceTime

Field Documentation

enum SWI_TYPE_DaylightSavings SWI_STRUCT_DeviceTime::eDaylightSavings
enum SWI_TYPE_Month SWI_STRUCT_DeviceTime::eMonth

Numerical value representing the day of the month. Valid values range between 1-31.

enum SWI_TYPE_WeekDay SWI_STRUCT_DeviceTime::eWeekDay

Numerical value representing the hour. Valid values range between 0-23 in UTC.

swi_uint32 SWI_STRUCT_DeviceTime::nDay

Day of the week enumeration.

swi_uint32 SWI_STRUCT_DeviceTime::nHour

Numerical value representing minutes. Valid values range between 0-59 in UTC.

swi_uint32 SWI_STRUCT_DeviceTime::nMinute

Numerical value representing seconds. Valid values range between 0-59 in UTC.

swi_uint32 SWI_STRUCT_DeviceTime::nSecond

Numerical value representing the time zone. Values range from -48 to 48 where 1 equals 15 minutes. For example:

  • -4 is UTC minus 60 minutes
  • -3 is UTC minus 45 minutes
  • -2 is UTC minus 30 minutes
  • -1 is UTC minus 15 minutes
  • 0 is UTC time
  • 1 is UTC plus 15 minutes
  • 2 is UTC plus 30 minutes
swi_int32 SWI_STRUCT_DeviceTime::nTimeZone

Daylight saving enumeration. See SWI_TYPE_DaylightSavings for more details.

swi_uint32 SWI_STRUCT_DeviceTime::nYear

Month enumeration.

swi_uint32 SWI_STRUCT_DeviceTime::sizeStruct

< The size, in bytes, of this structure. This value must always be populated by the calling application. Numerical value representing the year.


The documentation for this struct was generated from the following file:

Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved