Class TimeChunk


  • public class TimeChunk
    extends PNGChunk
    The tIME chunk, which gives the latest modified time.
    • Constructor Detail

      • TimeChunk

        public TimeChunk​(int sig,
                         long leng)
        Constructor
    • Method Detail

      • processChunk

        public void processChunk​(RepInfo info)
                          throws Exception
        The tIME chunk has the following: 2 bytes year (short), 1 byte month, 1 byte day, 1 byte hour, 1 byte minute, 1 byte second. It's supposed to be the UTC time.
        Overrides:
        processChunk in class PNGChunk
        Throws:
        Exception