com.ibm.jrom
Interface JROMDurationValue

All Superinterfaces:
JROMValue, java.io.Serializable

public interface JROMDurationValue
extends JROMValue, java.io.Serializable

A JROMDurationValue holds values which conform to xsd:duration


Method Summary
 void addDurationToDate(JROMDateValue date)
          Deprecated.  
 void addDurationToDateTime(JROMTimeValue timeVal)
          Deprecated.  
 int[] getValue()
          Deprecated. Return my value: int array of length seven, values corr to: -#years-#months-#days-#hours-#minutes-#seconds-#milliseconds
 void setValue(int[] value)
          Deprecated. Set my value:the number of milliseconds that constitutes the duration.
 
Methods inherited from interface com.ibm.jrom.JROMValue
getJROMType, getNameLocalPart, getNameNamespace, getParent, isNameLocalPartEquals, isNameLocalPartEquals, isNameNamespaceEquals, isNameNamespaceEquals, setNameLocalPart, setNameNamespace, setParent
 

Method Detail

getValue

public int[] getValue()
Deprecated. 
Return my value: int array of length seven, values corr to: -#years-#months-#days-#hours-#minutes-#seconds-#milliseconds


setValue

public void setValue(int[] value)
Deprecated. 
Set my value:the number of milliseconds that constitutes the duration. May be negative


addDurationToDate

public void addDurationToDate(JROMDateValue date)
Deprecated. 

addDurationToDateTime

public void addDurationToDateTime(JROMTimeValue timeVal)
Deprecated. 


Copyright © 2001, 2003 IBM. All Rights Reserved.