|
IntlCalendar::isEquivalentToWhether another calendar is equal but for a different time BeschreibungObjektorientierter Stil
public bool IntlCalendar::isEquivalentTo
( IntlCalendar
$other
)Prozeduraler Stil
bool intlcal_is_equivalent_to
( IntlCalendar
$cal
, IntlCalendar $other
)Returns whether this and the given object are equivalent for all purposes except as to the time they have set. The locales do not have to match, as long as no change in behavior results from such mismatch. This includes the timezone, whether the lenient mode is set, the repeated and skipped wall time settings, the days of the week when the weekend starts and ceases and the times where such transitions occur. It may also include other calendar specific settings, such as the Gregorian/Julian transition instant. Parameter-Liste
Rückgabewerte
Assuming there are no argument errors, returns Beispiele
Beispiel #1 IntlCalendar::isEquivalentTo
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: bool(true) bool(false) int(2) int(1) Siehe auch
|