1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 00:22:52 +02:00
Files
archived-php-src/ext/calendar/calendar.stub.php
Máté Kocsis d02b9b953d Add more specific array return type hints for various extensions - part 1
ext/bz2, ext/calendar, ext/dba, ext/enchant

Closes GH-7432
2021-11-07 08:46:25 +01:00

48 lines
1.3 KiB
PHP

<?php
/** @generate-class-entries */
function cal_days_in_month(int $calendar, int $month, int $year): int {}
/**
* @return array<string, int|string|null>
* @refcount 1
*/
function cal_from_jd(int $julian_day, int $calendar): array {}
/**
* @return array<int|string, int|string|array>
* @refcount 1
*/
function cal_info(int $calendar = -1): array {}
function cal_to_jd(int $calendar, int $month, int $day, int $year): int {}
function easter_date(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {}
function easter_days(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {}
function frenchtojd(int $month, int $day, int $year): int {}
function gregoriantojd(int $month, int $day, int $year): int {}
function jddayofweek(int $julian_day, int $mode = CAL_DOW_DAYNO): int|string {}
function jdmonthname(int $julian_day, int $mode): string {}
function jdtofrench(int $julian_day): string {}
function jdtogregorian(int $julian_day): string {}
function jdtojewish(int $julian_day, bool $hebrew = false, int $flags = 0): string {}
function jdtojulian(int $julian_day): string {}
function jdtounix(int $julian_day): int {}
function jewishtojd(int $month, int $day, int $year): int {}
function juliantojd(int $month, int $day, int $year): int {}
function unixtojd(?int $timestamp = null): int|false {}