diff --git a/reference/intl/intlcalendar/add.xml b/reference/intl/intlcalendar/add.xml index f18f622e7d..199df6bbbb 100644 --- a/reference/intl/intlcalendar/add.xml +++ b/reference/intl/intlcalendar/add.xml @@ -9,11 +9,23 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::add intfield intamount + + &style.procedural; + + + boolintlcal_add + IntlCalendarcal + intfield + intamount + Add a signed amount to a field. Adding a positive amount allows advances in time, even if the numeric value of the field decreases (e.g. when working @@ -31,6 +43,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/after.xml b/reference/intl/intlcalendar/after.xml index 947edff25f..63ff7e67ee 100644 --- a/reference/intl/intlcalendar/after.xml +++ b/reference/intl/intlcalendar/after.xml @@ -9,9 +9,20 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::after - IntlCalendarcalendar + IntlCalendarother + + + &style.procedural; + + + boolintlcal_after + IntlCalendarcal + IntlCalendarother Returns whether this objectʼs time succeeds the argumentʼs time. @@ -22,10 +33,16 @@ &reftitle.parameters; - calendar + cal + + The IntlCalendar resource. + + + + other - The calendar whose time will be checked against this objectʼs time. + The calendar whose time will be checked against the primary objectʼs time. diff --git a/reference/intl/intlcalendar/before.xml b/reference/intl/intlcalendar/before.xml index 1d2219a714..ac86566a69 100644 --- a/reference/intl/intlcalendar/before.xml +++ b/reference/intl/intlcalendar/before.xml @@ -9,9 +9,20 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::before - IntlCalendarcalendar + IntlCalendarother + + + &style.procedural; + + + boolIntlCalendar::before + IntlCalendarcal + IntlCalendarother Returns whether this objectʼs time precedes the argumentʼs time. @@ -22,10 +33,16 @@ &reftitle.parameters; - calendar + cal + + The IntlCalendar resource. + + + + other - The calendar whose time will be checked against this objectʼs time. + The calendar whose time will be checked against the primary objectʼs time. diff --git a/reference/intl/intlcalendar/clear.xml b/reference/intl/intlcalendar/clear.xml index fbd7a9470e..4833ec39ff 100644 --- a/reference/intl/intlcalendar/clear.xml +++ b/reference/intl/intlcalendar/clear.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::clear intfieldNULL + + &style.procedural; + + + boolintcal_clear + IntlCalendarcal + intfieldNULL + Clears either all of the fields or a specific field. A cleared field is marked as unset, giving it the lowest priority against overlapping fields or @@ -26,6 +37,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/createinstance.xml b/reference/intl/intlcalendar/createinstance.xml index 4b1e2912aa..f340c6558e 100644 --- a/reference/intl/intlcalendar/createinstance.xml +++ b/reference/intl/intlcalendar/createinstance.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public static IntlCalendarIntlCalendar::createInstance mixedtimeZoneNULL - stringlocaleNULL + stringlocale"" + + + &style.procedural; + + + IntlCalendarintlcal_create_instance + mixedtimeZoneNULL + stringlocale"" Given a timezone and locale, this method creates an diff --git a/reference/intl/intlcalendar/equals.xml b/reference/intl/intlcalendar/equals.xml index 6737abad3e..2e0db95b03 100644 --- a/reference/intl/intlcalendar/equals.xml +++ b/reference/intl/intlcalendar/equals.xml @@ -9,9 +9,20 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::equals - IntlCalendarcalendar + IntlCalendarother + + + &style.procedural; + + + boolintlcal_equals + IntlCalendarcal + IntlCalendarother Returns true if this calendar and the given calendar have the same time. @@ -23,10 +34,16 @@ &reftitle.parameters; - calendar + cal + + The IntlCalendar resource. + + + + other - The calendar to compare with this object. + The calendar to compare with the primary object. diff --git a/reference/intl/intlcalendar/fielddifference.xml b/reference/intl/intlcalendar/fielddifference.xml index ade02a0307..89d2f84b47 100644 --- a/reference/intl/intlcalendar/fielddifference.xml +++ b/reference/intl/intlcalendar/fielddifference.xml @@ -9,11 +9,23 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::fieldDifference floatwhen intfield + + &style.procedural; + + + intintlcal_field_difference + IntlCalendarcal + floatwhen + intfield + Return the difference between the given time and the time this object is set to, with respect to the quantity specified the @@ -30,6 +42,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + when diff --git a/reference/intl/intlcalendar/fromdatetime.xml b/reference/intl/intlcalendar/fromdatetime.xml index 0dcd17832d..fefdc63453 100644 --- a/reference/intl/intlcalendar/fromdatetime.xml +++ b/reference/intl/intlcalendar/fromdatetime.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public static IntlCalendarIntlCalendar::fromDateTime mixeddateTime + + &style.procedural; + + + IntlCalendarintlcal_from_date_time + mixeddateTime + Creates an IntlCalendar object either from a DateTime object or from a string from which a diff --git a/reference/intl/intlcalendar/get.xml b/reference/intl/intlcalendar/get.xml index 0a5a6dcc6e..9ced1bca2a 100644 --- a/reference/intl/intlcalendar/get.xml +++ b/reference/intl/intlcalendar/get.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::get intfield + + &style.procedural; + + + intintlcal_get + IntlCalendar>cal + intfield + Gets the value for a specific field. @@ -21,6 +32,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getactualmaximum.xml b/reference/intl/intlcalendar/getactualmaximum.xml index 264a0329c6..f6c859272d 100644 --- a/reference/intl/intlcalendar/getactualmaximum.xml +++ b/reference/intl/intlcalendar/getactualmaximum.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getActualMaximum intfield + + &style.procedural; + + + intintcal_get_actual_maximum + IntlCalendarcal + intfield + Returns a fieldʼs relative maximum value around the current time. The exact semantics vary by field, but in the general case this is the value that @@ -35,6 +46,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getactualminimum.xml b/reference/intl/intlcalendar/getactualminimum.xml index 7d29972651..21b8315ae1 100644 --- a/reference/intl/intlcalendar/getactualminimum.xml +++ b/reference/intl/intlcalendar/getactualminimum.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getActualMinimum intfield + + &style.procedural; + + + intintlcal_get_actual_minimum + IntlCalendarcal + intfield + Returns a fieldʼs relative minimum value around the current time. The exact semantics vary by field, but in the general case this is the value that @@ -32,6 +43,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getavailablelocales.xml b/reference/intl/intlcalendar/getavailablelocales.xml index 046adb7b1a..59c89b27a0 100644 --- a/reference/intl/intlcalendar/getavailablelocales.xml +++ b/reference/intl/intlcalendar/getavailablelocales.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public static arrayIntlCalendar::getAvailableLocales + + &style.procedural; + + + arrayintlcal_get_available_locales + + Gives the list of locales for which calendars are installed. As of ICU 51, this is the list of all installed ICU locales. diff --git a/reference/intl/intlcalendar/getdayofweektype.xml b/reference/intl/intlcalendar/getdayofweektype.xml index d69db34a24..73fec4a6dd 100644 --- a/reference/intl/intlcalendar/getdayofweektype.xml +++ b/reference/intl/intlcalendar/getdayofweektype.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getDayOfWeekType intdayOfWeek + + &style.procedural; + + + intintlcal_get_day_of_week_type + IntlCalendarcal + intdayOfWeek + Returns whether the passed day is a weekday (IntlCalendar::DOW_TYPE_WEEKDAY), a weekend day @@ -38,6 +49,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + dayOfWeek diff --git a/reference/intl/intlcalendar/getfirstdayofweek.xml b/reference/intl/intlcalendar/getfirstdayofweek.xml index 4fbf8f6833..fdbcc4ee79 100644 --- a/reference/intl/intlcalendar/getfirstdayofweek.xml +++ b/reference/intl/intlcalendar/getfirstdayofweek.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getFirstDayOfWeek + + &style.procedural; + + + intintl_get_first_day_of_week + IntlCalendarcal + The week day deemed to start a week, either the default value for this locale or the value set with @@ -22,7 +32,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/getgreatestminimum.xml b/reference/intl/intlcalendar/getgreatestminimum.xml index 48107cd1ca..9330bbc7b8 100644 --- a/reference/intl/intlcalendar/getgreatestminimum.xml +++ b/reference/intl/intlcalendar/getgreatestminimum.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getGreatestMinimum intfield + + &style.procedural; + + + intintlcal_get_greatest_minimum + IntlCalendarcal + intfield + Returns the largest local minimum for a field. This should be a value larger or equal to that returned by @@ -26,6 +37,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getkeywordvaluesforlocale.xml b/reference/intl/intlcalendar/getkeywordvaluesforlocale.xml index 743f047c9e..ba1a129f4b 100644 --- a/reference/intl/intlcalendar/getkeywordvaluesforlocale.xml +++ b/reference/intl/intlcalendar/getkeywordvaluesforlocale.xml @@ -9,17 +9,32 @@ &reftitle.description; + + &style.oop; + public static IteratorIntlCalendar::getKeywordValuesForLocale stringkey stringlocale booleancommonlyUsed + + &style.procedural; + + + Iteratorintlcal_get_keyword_values_for_locale + stringkey + stringlocale + booleancommonlyUsed + For a given locale key, get the set of values for that key that would result in a different behavior. For now, only the 'calendar' keyword is supported. + + This function requires ICU 4.2 or later. + diff --git a/reference/intl/intlcalendar/getleastmaximum.xml b/reference/intl/intlcalendar/getleastmaximum.xml index ad6975ded6..199775d4eb 100644 --- a/reference/intl/intlcalendar/getleastmaximum.xml +++ b/reference/intl/intlcalendar/getleastmaximum.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getLeastMaximum intfield + + &style.procedural; + + + intintlcal_get_least_maximum + IntlCalendarcal + intfield + Returns the smallest local maximumw for a field. This should be a value smaller or equal to that returned by @@ -25,6 +36,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getlocale.xml b/reference/intl/intlcalendar/getlocale.xml index 21292f4575..5640239c7d 100644 --- a/reference/intl/intlcalendar/getlocale.xml +++ b/reference/intl/intlcalendar/getlocale.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public stringIntlCalendar::getLocale intlocaleType + + &style.procedural; + + + stringintlcal_get_locale + IntlCalendarcal + intlocaleType + Returns the locale used by this calendar object. @@ -21,6 +32,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + localeType diff --git a/reference/intl/intlcalendar/getmaximum.xml b/reference/intl/intlcalendar/getmaximum.xml index 2b6f2bb37e..83dd35538b 100644 --- a/reference/intl/intlcalendar/getmaximum.xml +++ b/reference/intl/intlcalendar/getmaximum.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getMaximum intfield + + &style.procedural; + + + intintlcal_get_maximum + IntlCalendarcal + intfield + Gets the global maximum for a field, in this specific calendar. This value is larger or equal to that returned by @@ -25,6 +36,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getminimaldaysinfirstweek.xml b/reference/intl/intlcalendar/getminimaldaysinfirstweek.xml index a0bcd7504c..a981d4fb2d 100644 --- a/reference/intl/intlcalendar/getminimaldaysinfirstweek.xml +++ b/reference/intl/intlcalendar/getminimaldaysinfirstweek.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getMinimalDaysInFirstWeek + + &style.procedural; + + + intintlcal_get_minimal_days_in_first_week + IntlCalendarcal + Returns the smallest number of days the first week of a year or month must have in the new year or month. For instance, in the Gregorian calendar, if @@ -27,7 +37,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/getminimum.xml b/reference/intl/intlcalendar/getminimum.xml index b5f7c315d6..7c613cbc2d 100644 --- a/reference/intl/intlcalendar/getminimum.xml +++ b/reference/intl/intlcalendar/getminimum.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getMinimum intfield + + &style.procedural; + + + intintlcal_get_minimum + IntlCalendarcal + intfield + Gets the global minimum for a field, in this specific calendar. This value is smaller or equal to that returned by @@ -27,6 +38,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/getnow.xml b/reference/intl/intlcalendar/getnow.xml index f0c7f573de..f2e307eb7a 100644 --- a/reference/intl/intlcalendar/getnow.xml +++ b/reference/intl/intlcalendar/getnow.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public static floatIntlCalendar::getNow + + &style.procedural; + + + floatintlcal_get_now + + The number of milliseconds that have passed since the reference date. This number is derived from the system time. diff --git a/reference/intl/intlcalendar/getrepeatedwalltimeoption.xml b/reference/intl/intlcalendar/getrepeatedwalltimeoption.xml index 644ba3996b..7f9764527b 100644 --- a/reference/intl/intlcalendar/getrepeatedwalltimeoption.xml +++ b/reference/intl/intlcalendar/getrepeatedwalltimeoption.xml @@ -9,20 +9,40 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getRepeatedWallTimeOption + + &style.procedural; + + + intintlcal_get_repeated_wall_time_option + IntlCalendarcal + Gets the current strategy for dealing with wall times that are repeated whenever the clock is set back during dailight saving time end transitions. The default value is IntlCalendar::WALLTIME_LAST. + + This function requires ICU 4.9 or later. + &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/getskippedwalltimeoption.xml b/reference/intl/intlcalendar/getskippedwalltimeoption.xml index b8faa50109..8843965cde 100644 --- a/reference/intl/intlcalendar/getskippedwalltimeoption.xml +++ b/reference/intl/intlcalendar/getskippedwalltimeoption.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getSkippedWallTimeOption + + &style.procedural; + + + intintlcal_get_skipped_wall_time_option + IntlCalendarcal + Gets the current strategy for dealing with wall times that are skipped whenever the clock is forwarded during dailight saving time start transitions. @@ -24,11 +34,21 @@ any effect, otherwise attempting to set a non-existing time will cause an error. + + This function requires ICU 4.9 or later. + &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/gettime.xml b/reference/intl/intlcalendar/gettime.xml index a23a87a5bd..6cf5649cde 100644 --- a/reference/intl/intlcalendar/gettime.xml +++ b/reference/intl/intlcalendar/gettime.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public floatIntlCalendar::getTime + + &style.procedural; + + + floatintlcal_get_time + IntlCalendarcal + Returns the time associated with this object, expressed as the number of milliseconds since the epoch. @@ -21,7 +31,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/gettimezone.xml b/reference/intl/intlcalendar/gettimezone.xml index a21cf870c0..caa3c91ec7 100644 --- a/reference/intl/intlcalendar/gettimezone.xml +++ b/reference/intl/intlcalendar/gettimezone.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public IntlTimeZoneIntlCalendar::getTimeZone + + &style.procedural; + + + IntlTimeZoneintlcal_get_time_zone + IntlCalendarcal + Returns the IntlTimeZone object associated with this calendar. @@ -21,7 +31,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/gettype.xml b/reference/intl/intlcalendar/gettype.xml index 8caf9ae1a8..a96773a8c2 100644 --- a/reference/intl/intlcalendar/gettype.xml +++ b/reference/intl/intlcalendar/gettype.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public stringIntlCalendar::getType + + &style.procedural; + + + stringintlcal_get_type + IntlCalendarcal + A string describing the type of this calendar. This is one of the valid values for @@ -22,7 +32,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/getweekendtransition.xml b/reference/intl/intlcalendar/getweekendtransition.xml index 4041329078..3233610d18 100644 --- a/reference/intl/intlcalendar/getweekendtransition.xml +++ b/reference/intl/intlcalendar/getweekendtransition.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public intIntlCalendar::getWeekendTransition stringdayOfWeek + + &style.procedural; + + + intintlcal_get_weekend_transition + IntlCalendarcal + stringdayOfWeek + Returns the number of milliseconds after midnight at which the weekend begins or ends. @@ -24,11 +35,20 @@ IntlCalendar::DOW_TYPE_WEEKEND_CEASE. Calling this function for other days of the week is an error condition. + + This function requires ICU 4.4 or later. + &reftitle.parameters; + + cal + + The IntlCalendar resource. + + dayOfWeek diff --git a/reference/intl/intlcalendar/indaylighttime.xml b/reference/intl/intlcalendar/indaylighttime.xml index d215dfb110..fb5524034f 100644 --- a/reference/intl/intlcalendar/indaylighttime.xml +++ b/reference/intl/intlcalendar/indaylighttime.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::inDaylightTime + + &style.procedural; + + + boolintlcal_in_daylight_time + IntlCalendarcal + Whether, for the instant represented by this object and for this objectʼs timezone, daylight saving time is in place. @@ -21,7 +31,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/isequivalentto.xml b/reference/intl/intlcalendar/isequivalentto.xml index 1a95578028..0cd7e9c08f 100644 --- a/reference/intl/intlcalendar/isequivalentto.xml +++ b/reference/intl/intlcalendar/isequivalentto.xml @@ -9,9 +9,20 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::isEquivalentTo - IntlCalendarcalendar + IntlCalendarother + + + &style.procedural; + + + boolintlcal_is_equivalent_to + IntlCalendarcal + IntlCalendarother Returns whether this and the given object are equivalent for all purposes @@ -33,7 +44,13 @@ &reftitle.parameters; - calendar + cal + + The IntlCalendar resource. + + + + other The other calendar against which the comparison is to be made. diff --git a/reference/intl/intlcalendar/islenient.xml b/reference/intl/intlcalendar/islenient.xml index 8a1832e1c9..da35150934 100644 --- a/reference/intl/intlcalendar/islenient.xml +++ b/reference/intl/intlcalendar/islenient.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::isLenient + + &style.procedural; + + + boolintlcal_is_lenient + IntlCalendarcal + Returns whether the current date/time interpretations is lenient (the default). If that is case, some out of range values for fields will be @@ -22,7 +32,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + + diff --git a/reference/intl/intlcalendar/isset.xml b/reference/intl/intlcalendar/isset.xml index 9b802eded3..7d3a4044ad 100644 --- a/reference/intl/intlcalendar/isset.xml +++ b/reference/intl/intlcalendar/isset.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::isSet intfield + + &style.procedural; + + + boolintlcal_is_set + IntlCalendarcal + intfield + Returns whether a field is set (as opposed to clear). Set fields take priority over @@ -24,6 +35,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/isweekend.xml b/reference/intl/intlcalendar/isweekend.xml index 6c95bdf835..c55f5ec6fd 100644 --- a/reference/intl/intlcalendar/isweekend.xml +++ b/reference/intl/intlcalendar/isweekend.xml @@ -9,19 +9,39 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::isWeekend floatdateNULL + + &style.procedural; + + + boolintlcal_is_weekend + IntlCalendarcal + floatdateNULL + Returns whether either the obejctʼs current time or the provided timestamp occur during a weekend in this objectʼs calendar system. + + This function requires ICU 4.4 or later. + &reftitle.parameters; + + cal + + The IntlCalendar resource. + + date diff --git a/reference/intl/intlcalendar/roll.xml b/reference/intl/intlcalendar/roll.xml index f49933cdc7..15d76af282 100644 --- a/reference/intl/intlcalendar/roll.xml +++ b/reference/intl/intlcalendar/roll.xml @@ -9,11 +9,23 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::roll intfield mixedamountOrUpOrDown + + &style.procedural; + + + boolintlcal_roll + IntlCalendarcal + intfield + mixedamountOrUpOrDown + Adds a (signed) amount to a field. The difference with respect to IntlCalendar::add is that when the field value @@ -24,6 +36,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/set.xml b/reference/intl/intlcalendar/set.xml index 38df8abf75..9087825bd7 100644 --- a/reference/intl/intlcalendar/set.xml +++ b/reference/intl/intlcalendar/set.xml @@ -9,6 +9,9 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::set intfield @@ -23,6 +26,25 @@ intminuteNULL intsecondNULL + + &style.procedural; + + + boolintlcal_set + IntlCalendarcal + intfield + intvalue + + + boolintlcal_set + IntlCalendarcal + intyear + intmonth + intdayOfMonthNULL + inthourNULL + intminuteNULL + intsecondNULL + Sets either a specific field to the given value, or sets at once several common fields. The range of values that are accepted depend on whether the @@ -40,6 +62,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + field diff --git a/reference/intl/intlcalendar/setfirstdayofweek.xml b/reference/intl/intlcalendar/setfirstdayofweek.xml index a32d67a37c..6fd1971284 100644 --- a/reference/intl/intlcalendar/setfirstdayofweek.xml +++ b/reference/intl/intlcalendar/setfirstdayofweek.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::setFirstDayOfWeek intdayOfWeek + + &style.procedural; + + + boolintlcal_set_first_day_of_week + IntlCalendarcal + intdayOfWeek + Defines the day of week deemed to start the week. This affects the behavior of fields that depend on the concept of week start and end such as @@ -24,6 +35,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + dayOfWeek diff --git a/reference/intl/intlcalendar/setlenient.xml b/reference/intl/intlcalendar/setlenient.xml index 7e803d0d51..330e0082f0 100644 --- a/reference/intl/intlcalendar/setlenient.xml +++ b/reference/intl/intlcalendar/setlenient.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public ReturnTypeIntlCalendar::setLenient stringisLenient + + &style.procedural; + + + ReturnTypeintlcal_set_lenient + IntlCalendarcal + stringisLenient + Defines whether the calendar is ‘lenient mode’. In such a mode, some of out-of-bounds values for some fields are accepted, the behavior being @@ -25,6 +36,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + isLenient diff --git a/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml b/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml new file mode 100644 index 0000000000..2ccc201c22 --- /dev/null +++ b/reference/intl/intlcalendar/setminimaldaysinfirstweek.xml @@ -0,0 +1,85 @@ + + + + + + IntlCalendar::setMinimalDaysInFirstWeek + Set minimal number of days the first week in a year or month can have + + + + &reftitle.description; + + &style.oop; + + + public boolIntlCalendar::setMinimalDaysInFirstWeek + intminimalDays + + + &style.procedural; + + + boolintlcal_get_minimal_days_in_first_week + IntlCalendarcal + intminimalDays + + + Sets the smallest number of days the first week of a year or month must + have in the new year or month. For instance, in the Gregorian calendar, if + this value is 1, then the first week of the year will necessarily include + January 1st, while if this value is 7, then the week with January 1st will + be the first week of the year only if the day of the week for January 1st + matches the day of the week returned by + IntlCalendar::getFirstDayOfWeek; otherwise it will be + the previous yearʼs last week. + + + + + &reftitle.parameters; + + + cal + + The IntlCalendar resource. + + + + minimalDays + + The number of minimal days to set. + + + + + + + &reftitle.returnvalues; + + &true; on success, &false; on failure. + + + + + + diff --git a/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml b/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml index a527e7b533..6c356ee195 100644 --- a/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml +++ b/reference/intl/intlcalendar/setrepeatedwalltimeoption.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::setRepeatedWallTimeOption intwallTimeOption + + &style.procedural; + + + boolintlcal_set_repeated_wall_time_option + IntlCalendarcal + intwallTimeOption + Sets the current strategy for dealing with wall times that are repeated whenever the clock is set back during dailight saving time end transitions. @@ -21,11 +32,20 @@ IntlCalendar::WALLTIME_FIRST (take the instant that occurs during DST). + + This function requires ICU 4.9 or later. + &reftitle.parameters; + + cal + + The IntlCalendar resource. + + wallTimeOption diff --git a/reference/intl/intlcalendar/setskippedwalltimeoption.xml b/reference/intl/intlcalendar/setskippedwalltimeoption.xml index 232d4cab4c..f693a3d279 100644 --- a/reference/intl/intlcalendar/setskippedwalltimeoption.xml +++ b/reference/intl/intlcalendar/setskippedwalltimeoption.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::setSkippedWallTimeOption intwallTimeOption + + &style.procedural; + + + boolintlcal_set_skipped_wall_time_option + IntlCalendarcal + intwallTimeOption + Sets the current strategy for dealing with wall times that are skipped whenever the clock is forwarded during dailight saving time start transitions. @@ -35,11 +46,20 @@ any effect, otherwise attempting to set a non-existing time will cause an error. + + This function requires ICU 4.9 or later. + &reftitle.parameters; + + cal + + The IntlCalendar resource. + + wallTimeOption diff --git a/reference/intl/intlcalendar/settime.xml b/reference/intl/intlcalendar/settime.xml index 7b2c603c29..801a36b508 100644 --- a/reference/intl/intlcalendar/settime.xml +++ b/reference/intl/intlcalendar/settime.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::setTime floatdate + + &style.procedural; + + + boolintlcal_set_time + IntlCalendarcal + floatdate + Sets the instant represented by this object. The instant is represented by a float whose value should be an integer number of @@ -24,6 +35,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + date diff --git a/reference/intl/intlcalendar/settimezone.xml b/reference/intl/intlcalendar/settimezone.xml index 3ce88f4457..f2815ba578 100644 --- a/reference/intl/intlcalendar/settimezone.xml +++ b/reference/intl/intlcalendar/settimezone.xml @@ -9,10 +9,21 @@ &reftitle.description; + + &style.oop; + public boolIntlCalendar::setTimeZone mixedtimeZone + + &style.procedural; + + + boolintlcal_set_time_zone + IntlCalendarcal + mixedtimeZone + Defines a new timezone for this calendar. The time represented by the object is preserved to the detriment of the field values. @@ -22,6 +33,12 @@ &reftitle.parameters; + + cal + + The IntlCalendar resource. + + timeZone diff --git a/reference/intl/intlcalendar/todatetime.xml b/reference/intl/intlcalendar/todatetime.xml index d595e22ffc..7a8101f677 100644 --- a/reference/intl/intlcalendar/todatetime.xml +++ b/reference/intl/intlcalendar/todatetime.xml @@ -9,10 +9,20 @@ &reftitle.description; + + &style.oop; + public DateTimeIntlCalendar::toDateTime + + &style.procedural; + + + DateTimeintlcal_to_date_time + IntlCalendarcal + Create a DateTime object that represents the same instant (up to second precision, with a rounding error of less than 1 @@ -24,7 +34,14 @@ &reftitle.parameters; - &no.function.parameters; + + + cal + + The IntlCalendar resource. + + +