Структура описания формата времени.
Пространство имен: Guardant
Синтаксис
#pragma pack(push,1) typedef struct { WORD wYear; // Год (1601 - 30827) WORD wMonth; // Месяц(Январь = 1, Февраль = 2, ...) WORD wDayOfWeek; // День недели (Воскресенье = 0, Понедельник = 1, ...) WORD wDay; // День месяца (1-31) WORD wHour; // Час (0-23) WORD wMinute; // Минуты (0-59) WORD wSecond; // Секунды(0-59) WORD wMilliseconds; // Милисекунды(0-999) } TGrdSystemTime; #pragma pack(pop
public struct GrdSystemTime { public ushort wYear; // Год (1601 - 30827) public ushort wMonth; // Месяц(Январь = 1, Февраль = 2, ...) public ushort wDayOfWeek; // День недели (Воскресенье = 0, Понедельник = 1, ...) public ushort wDay; // День месяца (1-31) public ushort wHour; // Час (0-23) public ushort wMinute; // Минуты (0-59) public ushort wSecond; // Секунды(0-59) public ushort wMilliseconds; // Милисекунды(0-999) }
public class GrdSystemTime { /** The year (1601 - 2099) */ public short mYear; /** The month (January = 1, February = 2, ...) */ public short mMonth; /** The day of the week (Sunday = 0, Monday = 1, ...) */ public short mDayOfWeek; /** The day of the month (1-31) */ public short mDay; /** The hour (0-23) */ public short mHour; /** The minute (0-59) */ public short mMinute; /** The second (0-59) */ public short mSecond; /** The millisecond (0-999) */ public short mMilliseconds; }