com.edustructures.sifworks
Class SIFDuration
java.lang.Object
com.edustructures.sifworks.SIFSimpleType<javax.xml.datatype.Duration>
com.edustructures.sifworks.SIFDuration
- All Implemented Interfaces:
- java.io.Serializable
public class SIFDuration
- extends SIFSimpleType<javax.xml.datatype.Duration>
- See Also:
- Serialized Form
|
Constructor Summary |
SIFDuration(boolean isPositive,
int days,
int hours,
int minutes,
int seconds)
Creates a new SIFDuration to represent the given amount of time |
SIFDuration(javax.xml.datatype.Duration value)
Creates a new SIFDuration to wrapte the Duration value |
SIFDuration(int hours,
int minutes,
int seconds)
Creates a new SIFDuration to represent the given amount of time |
|
Method Summary |
SIFTypeConverter<javax.xml.datatype.Duration> |
getTypeConverter()
Returns a type converter that can be used to create an instance of the
datatype from a string |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SIFDuration
public SIFDuration(javax.xml.datatype.Duration value)
- Creates a new SIFDuration to wrapte the Duration value
- Parameters:
value -
SIFDuration
public SIFDuration(boolean isPositive,
int days,
int hours,
int minutes,
int seconds)
- Creates a new SIFDuration to represent the given amount of time
- Parameters:
isPositive - True if this represents a positive amount of timedays - The number of dayshours - The number of hoursminutes - The number of minutesseconds - The number of seconds
SIFDuration
public SIFDuration(int hours,
int minutes,
int seconds)
- Creates a new SIFDuration to represent the given amount of time
- Parameters:
hours - The number of hoursminutes - The number of minutesseconds - The number of seconds
getTypeConverter
public SIFTypeConverter<javax.xml.datatype.Duration> getTypeConverter()
- Description copied from class:
SIFSimpleType
- Returns a type converter that can be used to create an instance of the
datatype from a string
- Specified by:
getTypeConverter in class SIFSimpleType<javax.xml.datatype.Duration>
- Returns:
- The TypeConverter that is used for this element
Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.