IntlCalendar::setLenient

creationdev

Documentation

Conception web ecommerce
Conception web ecommerce

2500$ CAD

Formation référencement web
Formation référencement web

100$ CAD

Référencement web organique
Référencement web organique

300$ CAD

Référencement web optimisé
Référencement web optimisé

500$ CAD

Référencement web expert
Référencement web expert

750$ CAD

Conception web standard
Conception web standard

2500$ CAD

Conception d'application web
Conception d'application web

100$ CAD

Référencement web stratégique
Référencement web stratégique

1000$ CAD

Conception web extra
Conception web extra

5000$ CAD

Conception web microsite
Conception web microsite

1000$ CAD

Méthode

Méthode

IntlCalendar::setLenient

IntlCalendar::setLenient

Page Vue 26 déc. 2018
Page Vue 14 fois

(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)

IntlCalendar::setLenient — Set whether date/time interpretation is to be lenient

Description

Style orienté objet

public IntlCalendar::setLenient(bool $lenient): true

Style procédural

intlcal_set_lenient(IntlCalendar $calendar, bool $lenient): true

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 similar to that of IntlCalendar::add() (i.e., the value wraps around, carrying into more significant fields each time). If the lenient mode is off, then such values will generate an error.

Liste de paramètres

calendar

Une instance IntlCalendar.

lenient

Use true to activate the lenient mode; false otherwise.

Valeurs de retour

Retourne toujours true.

Historique

Version Description
8.2.0 Le type de retour est maintenant true, auparavant il était bool.

Exemples

See the example in IntlCalendar::isLenient().


Source : http://www.php.net/
Ref : methode-intlcalendar::setlenient.php




Contact

Contact

Veuillez saisir les infos dans le formulaire d'identification
suivant pour concevoir et référencer votre site.









Veuillez saisir votre message.

Carte d'affaires

Affichage de la carte d'affaires recto/verso.

Carte d'affaires recto
Carte d'affaires verso

Partagez

Partagez

Discussion ayant comme sujet la page IntlCalendar::setLenient.

©2025 creationdev -  F.A.Q. -  Soutien -  Haut de page
THÈMES: