23#define TIME_SCALE 1000000000
25#ifndef TYPEOF_TIMEVAL_TV_SEC
26# define TYPEOF_TIMEVAL_TV_SEC time_t
28#ifndef TYPEOF_TIMEVAL_TV_USEC
29# if INT_MAX >= 1000000
30# define TYPEOF_TIMEVAL_TV_USEC int
32# define TYPEOF_TIMEVAL_TV_USEC long
36#if SIZEOF_TIME_T == SIZEOF_LONG
38#elif SIZEOF_TIME_T == SIZEOF_INT
40#elif SIZEOF_TIME_T == SIZEOF_LONG_LONG
43# error cannot find integer type which size is same as time_t.
49 VALUE time,
const struct vtm *vtm,
struct timespec *ts,
int gmt);
51 VALUE time,
const struct vtm *vtm,
VALUE timev,
int gmt);
#define PACKED_STRUCT_UNALIGNED(x)
VALUE rb_strftime_timespec(const char *format, size_t format_len, rb_encoding *enc, VALUE time, const struct vtm *vtm, struct timespec *ts, int gmt)
VALUE rb_strftime(const char *format, size_t format_len, rb_encoding *enc, VALUE time, const struct vtm *vtm, VALUE timev, int gmt)
VALUE rb_time_zone_abbreviation(VALUE zone, VALUE time)
unsigned long unsigned_time_t