com.sun.msv.datatype.xsd.datetime

Interface IDateTimeValueType

public interface IDateTimeValueType extends Serializable

Interface as value type of DateTimeType

Author: Kohsuke KAWAGUCHI

Method Summary
IDateTimeValueTypeadd(ITimeDurationValueType duration)
returns the result of addition of this object and TimeDuration. this object will not be mutated.
intcompare(IDateTimeValueType rhs)
compare two DateTimeValueType as defined in com.sun.msv.datatype/Comparator
BigDateTimeValueTypegetBigValue()
IDateTimeValueTypenormalize()
gets the normalized IDateTimeValueType. normalized value always has GMT timezone or no timezone
CalendartoCalendar()
Approximates the value represented by this object into a Calendar object.

Method Detail

add

public IDateTimeValueType add(ITimeDurationValueType duration)
returns the result of addition of this object and TimeDuration. this object will not be mutated.

compare

public int compare(IDateTimeValueType rhs)
compare two DateTimeValueType as defined in com.sun.msv.datatype/Comparator

getBigValue

public BigDateTimeValueType getBigValue()

normalize

public IDateTimeValueType normalize()
gets the normalized IDateTimeValueType. normalized value always has GMT timezone or no timezone

toCalendar

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