de.fraunhofer.ipsi.xpathDatatypes
Class XS_GYearMonth

java.lang.Object
  extended by de.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
      extended by de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
          extended by de.fraunhofer.ipsi.xpathDatatypes.XS_GYearMonth

public class XS_GYearMonth
extends XDT_AnyAtomicType


Constructor Summary
XS_GYearMonth(boolean positive, java.math.BigInteger years, java.math.BigInteger months)
          Constructor
XS_GYearMonth(java.lang.String s)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Method gMonthDayEqual
 XS_Integer getMonth()
          Method getMonth
 XS_Integer getYear()
          Method getYear
 XS_Boolean isPositive()
          Returns Positive
 java.lang.String toString()
          Method toString
 
Methods inherited from class de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
castas
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XS_GYearMonth

public XS_GYearMonth(boolean positive,
                     java.math.BigInteger years,
                     java.math.BigInteger months)
Constructor

Parameters:
positive - a boolean
years - a BigInteger
months - a BigInteger

XS_GYearMonth

public XS_GYearMonth(java.lang.String s)
Constructor

Parameters:
gyearmonth - a XS_String
Method Detail

getYear

public XS_Integer getYear()
Method getYear

Returns:
a XS_Integer

getMonth

public XS_Integer getMonth()
Method getMonth

Returns:
a XS_Integer

isPositive

public XS_Boolean isPositive()
Returns Positive

Returns:
a boolean

equals

public boolean equals(java.lang.Object o)
Method gMonthDayEqual

Overrides:
equals in class java.lang.Object
Parameters:
type - XS_GMonthDay
Returns:
XS_Boolean

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Object
Returns:
a String