Go to the documentation of this file.
22 #define FB_WEEK_FIRST_SYSTEM 0
23 #define FB_WEEK_FIRST_JAN_1 1
24 #define FB_WEEK_FIRST_FOUR_DAYS 2
25 #define FB_WEEK_FIRST_FULL_WEEK 3
26 #define FB_WEEK_FIRST_DEFAULT FB_WEEK_FIRST_JAN_1
28 #define FB_WEEK_DAY_SYSTEM 0
29 #define FB_WEEK_DAY_SUNDAY 1
30 #define FB_WEEK_DAY_MONDAY 2
31 #define FB_WEEK_DAY_TUESDAY 3
32 #define FB_WEEK_DAY_WEDNESDAY 4
33 #define FB_WEEK_DAY_THURSDAY 5
34 #define FB_WEEK_DAY_FRIDAY 6
35 #define FB_WEEK_DAY_SATURDAY 7
36 #define FB_WEEK_DAY_DEFAULT FB_WEEK_DAY_SUNDAY
38 #define FB_TIME_INTERVAL_INVALID 0
39 #define FB_TIME_INTERVAL_YEAR 1
40 #define FB_TIME_INTERVAL_QUARTER 2
41 #define FB_TIME_INTERVAL_MONTH 3
42 #define FB_TIME_INTERVAL_DAY_OF_YEAR 4
43 #define FB_TIME_INTERVAL_DAY 5
44 #define FB_TIME_INTERVAL_WEEKDAY 6
45 #define FB_TIME_INTERVAL_WEEK_OF_YEAR 7
46 #define FB_TIME_INTERVAL_HOUR 8
47 #define FB_TIME_INTERVAL_MINUTE 9
48 #define FB_TIME_INTERVAL_SECOND 10
50 #define fb_hTimeDaysInYear( year ) \
51 (365 + fb_hTimeLeap( year ))
71 int first_day_of_week );
74 double interval_value_arg,
77 int first_day_of_week,
78 int first_day_of_year );
80 double serial1,
double serial2,
81 int first_day_of_week,
82 int first_day_of_year );
85 int *pDay,
int *pMonth,
int *pYear,
88 int *pDay,
int *pMonth,
int *pYear );
90 int *pYear,
int *pMonth,
int *pDay );
93 int *pHour,
int *pMinute,
int *pSecond,
96 int *pHour,
int *pMinute,
int *pSecond );
98 int *pHour,
int *pMinute,
int *pSecond,
102 int *pDay,
int *pMonth,
int *pYear,
103 int *pHour,
int *pMinute,
int *pSecond,
104 int want_date,
int want_time );
112 int fb_hGetWeekOfYear (
int ref_year,
double serial,
int first_day_of_year,
int first_day_of_week );
113 int fb_hGetWeeksOfYear (
int ref_year,
int first_day_of_year,
int first_day_of_week );