| java.lang.Object | |
| ↳ | com.netsuite.webservices.platform.core_2010_2.Duration |
Java class for Duration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Duration">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="timeSpan" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="unit" type="{urn:types.core_2010_2.platform.webservices.netsuite.com}DurationUnit"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| timeSpan | |||||||||||
| unit | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the timeSpan property.
| |||||||||||
Gets the value of the unit property.
| |||||||||||
Sets the value of the timeSpan property.
| |||||||||||
Sets the value of the unit property.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the value of the timeSpan property.
Gets the value of the unit property.
DurationUnit
Sets the value of the timeSpan property.
| value |
|---|
Sets the value of the unit property.
| value | Allowed object is
DurationUnit
|
|---|