tm_unz-class: Representation of date and time information from a zip...

tm_unz-classR Documentation

Representation of date and time information from a zip archive entry

Description

Objects of this class provide a representation of date and time information about an entry in a zip archive file. The components are similar to those of the POSIXlt representation in R, but do not include as many fields. Objects can be converted POSIXlt using the as.POSIXlt method and from there to POSIXct.

The class tm_unzRef is used to return an opaque reference to a C-level data structure rather than a copy of the contents of that structure which is what tm_unz represents.

Objects from the Class

Objects of this class are typically created in C code called by getZipInfo rather than directly within R.

Slots

tm_sec:

Object of class "numeric" seconds (0-59)

tm_min:

Object of class "numeric" minutes (0-59)

tm_hour:

Object of class "numeric" hours (0-23)

tm_mday:

Object of class "numeric" day of month as a number

tm_mon:

Object of class "numeric" month in year as a number (0 based?)

tm_year:

Object of class "numeric" year, not starting at 1900 as with POSIXlt but rather year 0

Methods

No methods defined with class tm_unz in the signature.

Note

The class definition and code to create instances of this class was machine generated.

Author(s)

Duncan Temple Lang

References

zlib and the minizip directory in the contrib/ section. The code was written by Gilles Volant and adapted to R.

See Also

getZipInfo unz_file_info-class


omegahat/Rcompression documentation built on Nov. 29, 2023, 12:45 a.m.