Top Description Methods
com.sun.msv.datatype.xsd.datetime

public Interface IDateTimeValueType

extends Serializable
Known Direct Implementers
com.sun.msv.datatype.xsd.datetime.BigDateTimeValueType
Imports
java.util.Calendar

Interface as value type of DateTimeType
Author
Kohsuke KAWAGUCHI

Method Summary

Modifier and TypeMethod and Description
public IDateTimeValueType
add(ITimeDurationValueType duration)

returns the result of addition of this object and TimeDuration.

public int
compare(IDateTimeValueType rhs)

compare two DateTimeValueType as defined in com.sun.msv.datatype/Comparator

public BigDateTimeValueType
public IDateTimeValueType
normalize()

gets the normalized IDateTimeValueType.

public Calendar
toCalendar()

Approximates the value represented by this object into a Calendar object.

Method Detail

addback to summary
public IDateTimeValueType add(ITimeDurationValueType duration)

returns the result of addition of this object and TimeDuration. this object will not be mutated.

compareback to summary
public int compare(IDateTimeValueType rhs)

compare two DateTimeValueType as defined in com.sun.msv.datatype/Comparator

getBigValueback to summary
public BigDateTimeValueType getBigValue()
normalizeback to summary
public IDateTimeValueType normalize()

gets the normalized IDateTimeValueType. normalized value always has GMT timezone or no timezone

toCalendarback to summary
public Calendar toCalendar()

Approximates the value represented by this object into a Calendar object. This conversion may lose accuracy.