/// <summary> /// Initializes a new instance of the <see cref="DBFileTime"/> struct. /// </summary> /// <param name="fileTime">The file time stored in a DWord.</param> public DBFileTime(DBDWord fileTime) { Year = (fileTime.Low >> 9) + 1980; Month = (fileTime.Low >> 5) & 0xF; Day = fileTime.Low & 0x1F; Hour = fileTime.High >> 11; Minute = (fileTime.High >> 5) & 0x3F; Second = (fileTime.High & 0x1F) << 1; }
public bool Equals(DBDWord other) { return(Value == other.Value); }