/dports/devel/py-convertdate/convertdate-2.2.0/convertdate/ |
H A D | french_republican.py | 19 DAYS_IN_YEAR = 365. variable 155 y5 = DAYS_IN_YEAR * 12 + 3 168 y5 = DAYS_IN_YEAR * 16 + 4 194 y4 = year * DAYS_IN_YEAR 236 if (J <= DAYS_IN_YEAR * 12 + 3 and 237 method in (100, 'romme')) or (J <= DAYS_IN_YEAR * 17 + 4 and method in (128, 'madler')): 251 J = J - DAYS_IN_YEAR * 12 - 3 265 J = J - DAYS_IN_YEAR * 16 - 4 295 y4 = trunc(J / DAYS_IN_YEAR) 297 if J == DAYS_IN_YEAR * 4: [all …]
|
H A D | positivist.py | 27 DAYS_IN_YEAR = 365 variable
|
/dports/games/openttd/openttd-12.1/src/ |
H A D | date.cpp | 101 Year yr = 400 * (date / (DAYS_IN_YEAR * 400 + 97)); in ConvertDateToYMD() 102 int rem = date % (DAYS_IN_YEAR * 400 + 97); in ConvertDateToYMD() 105 if (rem >= DAYS_IN_YEAR * 100 + 25) { in ConvertDateToYMD() 109 rem -= DAYS_IN_YEAR * 100 + 25; in ConvertDateToYMD() 112 yr += 100 * (rem / (DAYS_IN_YEAR * 100 + 24)); in ConvertDateToYMD() 113 rem = (rem % (DAYS_IN_YEAR * 100 + 24)); in ConvertDateToYMD() 116 if (!IsLeapYear(yr) && rem >= DAYS_IN_YEAR * 4) { in ConvertDateToYMD() 119 rem -= DAYS_IN_YEAR * 4; in ConvertDateToYMD() 123 yr += 4 * (rem / (DAYS_IN_YEAR * 4 + 1)); in ConvertDateToYMD() 124 rem = rem % (DAYS_IN_YEAR * 4 + 1); in ConvertDateToYMD() [all …]
|
H A D | date_type.h | 29 static const int DAYS_IN_YEAR = 365; ///< days per year variable 75 #define DAYS_TILL(year) (DAYS_IN_YEAR * (year) + LEAP_YEARS_TILL(year))
|
H A D | vehicle_func.h | 27 static const int VEHICLE_PROFIT_MIN_AGE = DAYS_IN_YEAR * 2; ///< Only vehicles older than this have…
|
H A D | road.cpp | 196 (HasBit(e->company_avail, company) || _date >= e->intro_date + DAYS_IN_YEAR)) { in GetCompanyRoadTypes()
|
H A D | rail.cpp | 259 (HasBit(e->company_avail, company) || _date >= e->intro_date + DAYS_IN_YEAR)) { in GetCompanyRailtypes()
|
H A D | statusbar_gui.cpp | 117 SetDParamMaxValue(0, MAX_YEAR * DAYS_IN_YEAR); in UpdateWidgetSize()
|
H A D | timetable_gui.cpp | 194 SetDParamMaxValue(0, MAX_YEAR * DAYS_IN_YEAR, 0, FS_SMALL); in UpdateWidgetSize()
|
H A D | ship_cmd.cpp | 238 …CommandCost cost(EXPENSES_SHIP_RUN, this->GetRunningCost() * this->running_ticks / (DAYS_IN_YEAR *… in OnNewDay()
|
H A D | engine.cpp | 1034 if (!(e->flags & ENGINE_AVAILABLE) && _date >= (e->intro_date + DAYS_IN_YEAR)) { in EnginesMonthlyLoop()
|
H A D | vehicle_gui.cpp | 2242 SetDParamMaxValue(1, MAX_YEAR * DAYS_IN_YEAR); // Roughly the maximum year in UpdateWidgetSize() 2302 …SetDParam(0, (v->age + DAYS_IN_YEAR < v->max_age) ? STR_VEHICLE_INFO_AGE : STR_VEHICLE_INFO_AGE_RE… in DrawWidget()
|
H A D | roadveh_cmd.cpp | 1718 …t(EXPENSES_ROADVEH_RUN, this->GetRunningCost() * this->running_ticks / (DAYS_IN_YEAR * DAY_TICKS)); in OnNewDay()
|
H A D | aircraft_cmd.cpp | 458 …(EXPENSES_AIRCRAFT_RUN, this->GetRunningCost() * this->running_ticks / (DAYS_IN_YEAR * DAY_TICKS)); in OnNewDay()
|
H A D | train_cmd.cpp | 4018 …st(EXPENSES_TRAIN_RUN, this->GetRunningCost() * this->running_ticks / (DAYS_IN_YEAR * DAY_TICKS)); in OnNewDay()
|
/dports/games/openttd/openttd-12.1/src/ai/ |
H A D | ai.hpp | 30 START_NEXT_EASY = DAYS_IN_YEAR * 2, 31 START_NEXT_MEDIUM = DAYS_IN_YEAR, 32 START_NEXT_HARD = DAYS_IN_YEAR / 2,
|
H A D | ai_core.cpp | 315 return DAYS_IN_YEAR; in GetStartNextTime()
|
/dports/www/webtrees20/webtrees-2.0.19/webtrees/app/Module/ |
H A D | StatisticsChartModule.php | 78 private const DAYS_IN_YEAR = 365.25; define in Fisharebest\\Webtrees\\Module\\StatisticsChartModule 544 $years = (int) ($age / self::DAYS_IN_YEAR); 555 $years = (int) ($age / self::DAYS_IN_YEAR); 569 $years = (int) ($age / self::DAYS_IN_YEAR); 607 $years = (int) ($row->age / self::DAYS_IN_YEAR); 617 $years = (int) ($row->age / self::DAYS_IN_YEAR); 631 $years = (int) ($row->age / self::DAYS_IN_YEAR); 670 $years = (int) ($row->age / self::DAYS_IN_YEAR); 684 $years = (int) ($row->age / self::DAYS_IN_YEAR); 702 $years = (int) ($row->age / self::DAYS_IN_YEAR);
|
/dports/devel/p5-Time-Moment/Time-Moment-0.44/src/ |
H A D | dt_core.c | 32 #define DAYS_IN_YEAR(y) \ macro 190 doy += DAYS_IN_YEAR(y); in dt_to_ywd() 193 const int diy = DAYS_IN_YEAR(y); in dt_to_ywd()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/chrono-humanize-0.2.1/src/ |
H A D | humantime.rs | 126 const DAYS_IN_YEAR: i64 = 365; const 256 let years = self.0.num_days() / Self::DAYS_IN_YEAR; in split_years() 257 let reminder = self.0 - Duration::days(years * Self::DAYS_IN_YEAR); in split_years()
|
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/chrono-humanize-0.2.1/src/ |
H A D | humantime.rs | 126 const DAYS_IN_YEAR: i64 = 365; const 256 let years = self.0.num_days() / Self::DAYS_IN_YEAR; in split_years() 257 let reminder = self.0 - Duration::days(years * Self::DAYS_IN_YEAR); in split_years()
|
/dports/www/ilias/ILIAS-5.4.25/libs/bower/bower_components/yui2/src/charts/as/com/yahoo/astra/utils/ |
H A D | DateUtil.as | 88 public static const DAYS_IN_YEAR:int = 365; constant in com.yahoo.astra.utils.DateUtil
|
/dports/www/ilias6/ILIAS-6.14/libs/bower/bower_components/yui2/src/charts/as/com/yahoo/astra/utils/ |
H A D | DateUtil.as | 88 public static const DAYS_IN_YEAR:int = 365; constant in com.yahoo.astra.utils.DateUtil
|
/dports/sysutils/linrename/util-linux-2.25.2/misc-utils/ |
H A D | cal.c | 174 #define DAYS_IN_YEAR 365 /* the common case, leap years are calculated */ macro
|
/dports/devel/goffice/goffice-0.10.50/goffice/graph/ |
H A D | gog-axis.c | 33 #define DAYS_IN_YEAR 365.25 macro 775 step = DAYS_IN_YEAR * N; in map_date_auto_bound() 1113 maj_months = go_fake_round (major_tick / (DAYS_IN_YEAR / 12)); in map_date_calc_ticks() 1123 min_months = go_fake_round (minor_tick / (DAYS_IN_YEAR / 12)); in map_date_calc_ticks()
|