11#include "ruby/internal/config.h"
12#include "internal/bits.h"
15#if SIGNEDNESS_OF_TIME_T < 0
16# define TIMET_MAX SIGNED_INTEGER_MAX(time_t)
17# define TIMET_MIN SIGNED_INTEGER_MIN(time_t)
18#elif SIGNEDNESS_OF_TIME_T > 0
19# define TIMET_MAX UNSIGNED_INTEGER_MAX(time_t)
20# define TIMET_MIN ((time_t)0)
28RUBY_SYMBOL_EXPORT_BEGIN
30void ruby_reset_leap_second_info(
void);
31#ifdef RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY
32RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY()
34void ruby_reset_timezone(
const char *);
struct timeval rb_time_timeval(VALUE time)
Converts an instance of rb_cTime to a struct timeval that represents the identical point of time.
uintptr_t VALUE
Type that represents a Ruby object.