public class SignedZeroToHundredPercent extends Object implements OdfDataType
| Constructor and Description |
|---|
SignedZeroToHundredPercent(double n)
Allocates a SignedZeroToHundredPercent object representing the n argument
|
| Modifier and Type | Method and Description |
|---|---|
double |
doubleValue()
Returns the value of this SignedZeroToHundredPercent object as a double primitive
|
static boolean |
isValid(Double doubleValue)
check if the specified Double instance is a valid signedZeroToHundredPercent data type
|
static boolean |
isValid(String stringValue)
check if the specified String instance is a valid 'signedZeroToHundredPercent' data type
|
String |
toString()
Returns a String Object representing this SignedZeroToHundredPercent's value
|
static SignedZeroToHundredPercent |
valueOf(String stringValue)
Returns a SignedZeroToHundredPercent instance representing the specified String value
|
public SignedZeroToHundredPercent(double n)
throws IllegalArgumentException
n - the value of the SignedZeroToHundredPercentIllegalArgumentException - if the given argument is not a valid SignedZeroToHundredPercentpublic String toString()
public static SignedZeroToHundredPercent valueOf(String stringValue) throws IllegalArgumentException
stringValue - a String valueIllegalArgumentException - if the given argument is not a valid SignedZeroToHundredPercentpublic double doubleValue()
public static boolean isValid(Double doubleValue)
doubleValue - the value to be testedpublic static boolean isValid(String stringValue)
stringValue - the value to be testedCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.