xref: /PHP-8.0/ext/calendar/calendar.stub.php (revision f21b1609)
1<?php
2
3/** @generate-function-entries */
4
5function cal_days_in_month(int $calendar, int $month, int $year): int {}
6
7function cal_from_jd(int $julian_day, int $calendar): array {}
8
9function cal_info(int $calendar = -1): array {}
10
11function cal_to_jd(int $calendar, int $month, int $day, int $year): int {}
12
13function easter_date(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {}
14
15function easter_days(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {}
16
17function frenchtojd(int $month, int $day, int $year): int {}
18
19function gregoriantojd(int $month, int $day, int $year): int {}
20
21function jddayofweek(int $julian_day, int $mode = CAL_DOW_DAYNO): int|string {}
22
23function jdmonthname(int $julian_day, int $mode): string {}
24
25function jdtofrench(int $julian_day): string {}
26
27function jdtogregorian(int $julian_day): string {}
28
29function jdtojewish(int $julian_day, bool $hebrew = false, int $flags = 0): string {}
30
31function jdtojulian(int $julian_day): string {}
32
33function jdtounix(int $julian_day): int {}
34
35function jewishtojd(int $month, int $day, int $year): int {}
36
37function juliantojd(int $month, int $day, int $year): int {}
38
39function unixtojd(?int $timestamp = null): int|false {}
40