Returns true if the two xs:gDay
values have the same starting instant, when
considered as days in the same month of the same year.
xs:gDay
values. Also used in the
definition of the "ne" operator.op:gDay-equal
( $arg1
as xs:gDay
,$arg2
as xs:gDay
xs:boolean
The starting instants of $arg1
and $arg2
are calculated by
supplying the missing components of $arg1
and $arg2
from the
xs:dateTime
template 1972-12-xxT00:00:00
or an equivalent.
The function returns the result of comparing these two starting instants using
op:dateTime-equal
.
Assume that the dynamic context provides an implicit timezone value of
-05:00
. Assume, also, that the xs:dateTime
template is
1972-12-xxT00:00:00
.
The expression op:gDay-equal(xs:gDay("---25-14:00"),
xs:gDay("---25+10:00"))
returns false()
.
The expression op:gDay-equal(xs:gDay("---12"), xs:gDay("---12Z"))
returns false()
.