Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deck of Cards
id001
Card
defaulttrue
labelC
Code Block
languagecpp
#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
Card
labelC#
Code Block
languagec#
    public struct GrdSystemTime
    {
        /// <summary>public ushort wYear;         /// Год (1601 - 30827)
        /// </summary>
        public ushort wYearwMonth;
        /// <summary>
        /// Месяц(Январь = 1, Февраль = 2, ...)
        ///
</summary>         public ushort wMonthwDayOfWeek;
        /// <summary>
        /// День недели (Воскресенье = 0, Понедельник = 1, ...)
        ///
</summary>
        public ushort wDayOfWeek;
        /// <summary>wDay;          /// День месяца (1-31)
        /// </summary>
        public ushort wDaywHour;         /// <summary>
        /// Час (0-23)
        /// </summary>
        public ushort wHour;
        /// <summary>
 wMinute;       /// Минуты (0-59)
       
/// </summary>
        public ushort wMinute;
        /// <summary>wSecond;           /// Секунды(0-59)
        ///
</summary>
        public ushort wSecond;
        /// <summary>
        ///wMilliseconds; // Милисекунды(0-999)
        /// </summary>
        public ushort wMilliseconds;
    }
Card
labelJava
Code Block
languagejava
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;
}