Constructor and Description |
---|
TIMEReader(Chunk chunk) |
Modifier and Type | Method and Description |
---|---|
int |
getDay() |
int |
getHour() |
int |
getMinute() |
int |
getMonth() |
int |
getSecond() |
int |
getYear() |
void |
read()
Read the tIME chunk.
|
public TIMEReader(Chunk chunk)
public int getDay()
public int getHour()
public int getMinute()
public int getMonth()
public int getSecond()
public int getYear()
public void read() throws java.io.IOException
The tIME chunk gives the time of the last image modification (not the time of initial image creation). It contains:
Year: 2 bytes (complete; for example, 1995, not 95) Month: 1 byte (1-12) Day: 1 byte (1-31) Hour: 1 byte (0-23) Minute: 1 byte (0-59) Second: 1 byte (0-60) (yes, 60, for leap seconds; not 61, a common error)