PHP » GoLang |
login |
register |
about
|
GoLang IntlCalendar::isEquivalentTo
request it (235)
GoLang replacement for PHP's IntlCalendar::isEquivalentTo
[edit | history]
PHP IntlCalendar::isEquivalentToPHP original manual for IntlCalendar::isEquivalentTo [ show | php.net ]IntlCalendar::isEquivalentTo(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1) IntlCalendar::isEquivalentTo — Whether another calendar is equal but for a different time DescriptionObject oriented style Procedural style 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. Parameters
Return Values
Assuming there are no argument errors, returns Examples
Example #1 IntlCalendar::isEquivalentTo()
<?php The above example will output: bool(true) bool(false) int(2) int(1) |
more
Recently updated
more
Most requested
more
Last requests
|