Ruby
1.9.3p551(2014-11-13revision48407)
Main Page
Modules
Data Structures
Files
File List
Globals
timev.h
Go to the documentation of this file.
1
#ifndef RUBY_TIMEV_H
2
#define RUBY_TIMEV_H
3
4
struct
vtm
{
5
VALUE
year
;
/* 2000 for example. Integer. */
6
int
mon
;
/* 1..12 */
7
int
mday
;
/* 1..31 */
8
int
hour
;
/* 0..23 */
9
int
min
;
/* 0..59 */
10
int
sec
;
/* 0..60 */
11
VALUE
subsecx
;
/* 0 <= subsecx < TIME_SCALE. possibly Rational. */
12
VALUE
utc_offset
;
/* -3600 as -01:00 for example. possibly Rational. */
13
int
wday
;
/* 0:Sunday, 1:Monday, ..., 6:Saturday */
14
int
yday
;
/* 1..366 */
15
int
isdst
;
/* 0:StandardTime 1:DayLightSavingTime */
16
const
char
*
zone
;
/* "JST", "EST", "EDT", etc. */
17
};
18
19
#define TIME_SCALE 1000000000
20
21
#endif
22
Generated on Fri Nov 14 2014 16:04:15 for Ruby by
1.8.3