Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# timev.h

Go to the documentation of this file.

    00001 #ifndef RUBY_TIMEV_H
    00002 #define RUBY_TIMEV_H
    00003
    00004 struct vtm {
    00005     VALUE year; /* 2000 for example.  Integer. */
    00006     int mon; /* 1..12 */
    00007     int mday; /* 1..31 */
    00008     int hour; /* 0..23 */
    00009     int min; /* 0..59 */
    00010     int sec; /* 0..60 */
    00011     VALUE subsecx; /* 0 <= subsecx < TIME_SCALE.  possibly Rational. */
    00012     VALUE utc_offset; /* -3600 as -01:00 for example.  possibly Rational. */
    00013     int wday; /* 0:Sunday, 1:Monday, ..., 6:Saturday */
    00014     int yday; /* 1..366 */
    00015     int isdst; /* 0:StandardTime 1:DayLightSavingTime */
    00016     const char *zone; /* "JST", "EST", "EDT", etc. */
    00017 };
    00018
    00019 #define TIME_SCALE 1000000000
    00020
    00021 #endif
    00022