FinancialValidations
Table of Contents
Methods
-
validateBasis()
: int
-
validateDate()
: float
-
validateDiscount()
: float
-
validateFloat()
: float
-
validateFrequency()
: int
-
validateInt()
: int
-
validateMaturityDate()
: float
-
validateParValue()
: float
-
validatePrice()
: float
-
validateRate()
: float
-
validateSettlementDate()
: float
-
validateYield()
: float
validateBasis()
public
static validateBasis(mixed $basis) : int
Parameters
-
$basis
: mixed
-
validateDate()
public
static validateDate(mixed $date) : float
Parameters
-
$date
: mixed
-
validateDiscount()
public
static validateDiscount(mixed $discount) : float
Parameters
-
$discount
: mixed
-
validateFloat()
public
static validateFloat(mixed $value) : float
Parameters
-
$value
: mixed
-
validateFrequency()
public
static validateFrequency(mixed $frequency) : int
Parameters
-
$frequency
: mixed
-
validateInt()
public
static validateInt(mixed $value) : int
Parameters
-
$value
: mixed
-
validateMaturityDate()
public
static validateMaturityDate(mixed $maturity) : float
Parameters
-
$maturity
: mixed
-
validateParValue()
public
static validateParValue(mixed $parValue) : float
Parameters
-
$parValue
: mixed
-
validatePrice()
public
static validatePrice(mixed $price) : float
Parameters
-
$price
: mixed
-
validateRate()
public
static validateRate(mixed $rate) : float
Parameters
-
$rate
: mixed
-
validateSettlementDate()
public
static validateSettlementDate(mixed $settlement) : float
Parameters
-
$settlement
: mixed
-
validateYield()
public
static validateYield(mixed $yield) : float
Parameters
-
$yield
: mixed
-