# op:gMonth-equal - XPath XQuery Reference

Returns true if the two xs:gMonth values have the same starting instant,
            when considered as months in the same year.Defines the
         semantics of the "eq" operator when applied to two xs:gMonth values. Also used
         in the definition of the "ne" operator.deterministiccontext-dependentfocus-independentThe starting instants of $arg1 and $arg2 are calculated by
            supplying the missing components of $arg1 and $arg2 from the
               xs:dateTime template 1972-xx-01T00: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
               chosen is 1972-xx-01T00:00:00. op:gMonth-equal(xs:gMonth("--12-14:00"),
                  xs:gMonth("--12+10:00"))false() The starting instants are 1972-12-01T00:00:00-14:00 and
                     1972-12-01T00:00:00+10:00, respectively, and normalize to
                     1972-11-30T14:00:00Z and 1972-12-01T14:00:00Z.
               op:gMonth-equal(xs:gMonth("--12"),
                  xs:gMonth("--12Z"))false()