com.marklogic.xcc.types

## Interface XSGYearMonth

- All Superinterfaces:
    XdmAtomic, XdmItem, XdmValue

      public interface XSGYearMonth
      extends XdmAtomic

  XDM type: xs:gYearMonth.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.GregorianCalendar` | `asGregorianCalendar()`

    - ### Methods inherited from interface com.marklogic.xcc.types.XdmItem

      `asInputStream, asReader, getItemType, isCached, writeTo, writeTo`

    - ### Methods inherited from interface com.marklogic.xcc.types.XdmValue

      `asString, getValueType`

- - ### Method Detail

    - #### asGregorianCalendar

          java.util.GregorianCalendar asGregorianCalendar()

      Returns:
        The value of this item as a GregorianCalendar object.

Copyright © 2025 MarkLogic Corporation

Complete online documentation for MarkLogic Server, XQuery and related components may be found at docs.progress.com