HP Visualize c3600 HP-UX DMI 2.0 Developer's Guide: HP-UX/HP 9000 Computers, - Page 74
DmiTimestamp
View all HP Visualize c3600 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 74 highlights
Management Interface Data Structures DMI Data Structures DmiTimestamp This data structure describes the time format used by DMI. The format of the time block is a 28-octet displayable string with ISO 8859-1 encoding. Each element is one or more printable characters. For example, Wednesday May 25, 1994 at 1:30:15 PM EDT is represented as: 19940525133015.000000-300 A seconds value of 60 is used for leap seconds. The offset from UTC (Coordinated Universal Time) is the number of minutes west (negative number) or east offset from UTC. Values are zero-padded. If a value is not supplied for a field, each character in the field must be replaced with asterisk ('*') characters. The DMI Server is not required to check the contents of this string for validity. Table 8-33 DmiTimestamp Field Name year month day hour minutes seconds dot microSeconds plusOrMinus utcOffset padding Description The year The month ('1'..'12') The day of the month ('1'..'31') The hour of the day ('0'..'23') The minutes ('0'..'59') The seconds ('0'..'60') A dot ('.'} MicroSeconds ('0'..'999999') '+' for east, or '-' west of UTC Minutes ('0'..'720') from UTC Unused padding for 4-byte alignment typedef struct DmiTimestamp { char year [4]; char month [2]; char day [2]; char hour [2]; char minutes [2]; char seconds [2]; char dot; char microSeconds [6]; char plusOrMinus; char utcOffset [3]; char padding [3]; } DmiTimestamp_t; 74 Chapter 8