05.07.2014 Views

here - OSTA - Optical Storage Technology Association

here - OSTA - Optical Storage Technology Association

here - OSTA - Optical Storage Technology Association

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

length of the field. The characters shall be recorded starting with the first byte of the field, and any<br />

remaining byte positions after the characters up until byte n-2 inclusive shall be set to #00.<br />

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.12.1.1) except<br />

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

entire dstring field to all zeros.<br />

2.1.4 Timestamp<br />

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

Uint16 TypeAndTimezone;<br />

Uint16Int16 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, which is<br />

interpreted as a signed 12-bit number in two’s complement form.<br />

<br />

<br />

<br />

<br />

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

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

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

TimeZone shall be interpreted as specifying the time zone for the location<br />

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

zone has 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 the TimeZone field. Otherwise the TimeZone shall be<br />

set to –2047.<br />

UDF 2.01<br />

13<br />

March50 April

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

Saved successfully!

Ooh no, something went wrong!