8 int year, month, day, hour, minute, second;
9 int carry_value, test_value;
10 int interval_value = (int)
fb_FIXDouble( interval_value_arg );
18 switch ( interval_type ) {
20 year += interval_value;
23 month += interval_value * 3;
26 month += interval_value;
31 day += interval_value;
34 day += interval_value * 7;
37 hour += interval_value;
40 minute += interval_value;
43 second += interval_value;
52 switch ( interval_type ) {
69 carry_value = (month - 12) / 12;
71 carry_value = (month - 1) / 12;
74 month -= carry_value * 12;
77 if( day > test_value )