|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef included_time_range_h
17 #define included_time_range_h
43 u32 year, month, day, hour, minute, second, nanosecond;
111 if ((year % 100) == 0)
113 if ((year % 400) == 0)
@ CLIB_TIMEBASE_DAYLIGHT_NONE
clib_timebase_daylight_time_t
format_function_t format_clib_timebase_time
f64 end
end of the time range
void clib_timebase_time_to_components(f64 now, clib_timebase_component_t *cp)
static f64 clib_time_now(clib_time_t *c)
static f64 clib_timebase_summer_offset_fastpath(clib_timebase_t *tb, f64 now)
f64 clib_timebase_offset_from_sunday(u8 *day)
static f64 clib_timebase_now(clib_timebase_t *tb)
void clib_timebase_init(clib_timebase_t *tb, i32 timezone_offset_in_hours, clib_timebase_daylight_time_t daylight_type, clib_time_t *clib_time)
f64 clib_timebase_components_to_time(clib_timebase_component_t *cp)
unformat_function_t unformat_clib_timebase_range_hms
@ CLIB_TIMEBASE_DAYLIGHT_USA
f64 clib_timebase_summer_offset(clib_timebase_t *tb, f64 now)
clib_timebase_daylight_time_t daylight_time_type
f64 clib_timebase_find_sunday_midnight(f64 start_time)
unformat_function_t unformat_clib_timebase_range_vector
static int clib_timebase_is_leap_year(u32 year)