05.07.2014 Views

UDF 2.00 - OSTA - Optical Storage Technology Association

UDF 2.00 - OSTA - Optical Storage Technology Association

UDF 2.00 - OSTA - Optical Storage Technology Association

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If the number of d-characters to be encoded is zero, the length of the dstring shall be zero.<br />

NOTE: The length of a dstring includes the compression code byte(2.1.1) except for the<br />

case of a zero length string. A zero length string shall be recorded by setting the entire<br />

dstring field to all zeros.<br />

2.1.4 Timestamp<br />

struct timestamp { /* ECMA 167 1/7.3 */<br />

Uint16 TypeAndTimezone;<br />

Uint16 Year;<br />

Uint8<br />

Month;<br />

Uint8<br />

Day;<br />

Uint8<br />

Hour;<br />

Uint8<br />

Minute;<br />

Uint8<br />

Second;<br />

Uint8<br />

Centiseconds;<br />

Uint8<br />

HundredsofMicroseconds;<br />

Uint8<br />

Microseconds;<br />

}<br />

2.1.4.1 Uint16 TypeAndTimezone;<br />

For the following descriptions Type refers to the most significant 4 bits of this<br />

field, and TimeZone refers to the least significant 12 bits of this field.<br />

$ The time within the structure shall be interpreted as Local Time since Type<br />

shall be equal to ONE for <strong>OSTA</strong> <strong>UDF</strong> compliant media.<br />

? Type shall be set to ONE to indicate Local Time.<br />

$ Shall be interpreted as specifying the time zone for the location when this<br />

field was last modified. If this field contains -2047 then the time zone has<br />

not been specified.<br />

? For operating systems that support the concept of a time zone, the offset of<br />

the time zone (in 1 minute increments), from Coordinated Universal Time,<br />

shall be inserted in this field. Otherwise the time zone portion of this field<br />

shall be set to -2047.<br />

Note: Time zones West of Coordinated Universal Time have negative offsets.<br />

For example, Eastern Standard Time is -300 minutes; Eastern Daylight<br />

Time is -240 minutes.<br />

<strong>UDF</strong> <strong>2.00</strong> April 3, 1998<br />

11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!