Repository navigation
[Sync-EN] Document the procedural style of IntlGregorianCalendar methods - #1797
Merged
Merged
Conversation
lacatoire
force-pushed
the
sync-en/1656
branch
from
October 22, 2026 08:39
d03324a to
1d8adb5
Compare
lacatoire
force-pushed
the
sync-en/1656
branch
from
November 8, 2026 16:25
1d8adb5 to
e7a2484
Compare
lacatoire
force-pushed
the
sync-en/1656
branch
from
November 17, 2026 18:59
ac439d5 to
668985b
Compare
lacatoire
force-pushed
the
sync-en/1656
branch
from
November 18, 2026 08:32
668985b to
701f543
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the three
reference/intl/intlgregoriancalendar/pages with php/doc-en#5619.The three pages carried an empty description with
&warn.undocumented.func;. They now document both styles and the behaviour:getGregorianChange()/intlgregcal_get_gregorian_change(): the Gregorian change date, the point at which the calendar switches from Julian to Gregorian dates, as a Unix timestamp in milliseconds, defaulting to midnight UTC on 15 October 1582.isLeapYear()/intlgregcal_is_leap_year(): whether the given year is a leap year in the Gregorian calendar, with theyearparameter finally described.setGregorianChange()/intlgregcal_set_gregorian_change(): sets that date, withtimestampdescribed.Each page gains the
&style.oop;and&style.procedural;markers and thecalendarparameter of the procedural form.Also reworded the return values of
isLeapYear()andgetGregorianChange()to match the glossary.EN-Revision bumped to a9a5a377cfbff431de8bbdca1a2b7a51c7500ca1 on the three files.
Fixes: #1656