namespace SabreTools.Data.Models.UDF
{
///
/// UDF Timestamp (1/7.3)
///
///
public sealed class Timestamp
{
///
/// Type (upper 4 bits, 1 = local time) and time zone offset from UTC in minutes
/// (lower 12 bits, signed, -2047 = not specified)
///
public ushort TypeAndTimezone { get; set; }
///
/// Year, 1 to 9999
///
public short Year { get; set; }
///
/// Month, 1 to 12
///
public byte Month { get; set; }
///
/// Day, 1 to 31
///
public byte Day { get; set; }
///
/// Hour, 0 to 23
///
public byte Hour { get; set; }
///
/// Minute, 0 to 59
///
public byte Minute { get; set; }
///
/// Second, 0 to 59
///
public byte Second { get; set; }
///
/// Centiseconds, 0 to 99
///
public byte Centiseconds { get; set; }
///
/// Hundreds of microseconds, 0 to 99
///
public byte HundredsOfMicroseconds { get; set; }
///
/// Microseconds, 0 to 99
///
public byte Microseconds { get; set; }
}
}