Public Member Functions | |
of ($class) | |
setDefault ($object) | |
importValue ($value) | |
import ($scope) | |
Static Public Member Functions | |
static | create ($name) |
Protected Member Functions | |
getObjectName () | |
checkRanges (DateRange $range) | |
makeRange ($string) | |
Private Member Functions | |
checkType ($object) | |
Private Attributes | |
$className = null |
Definition at line 15 of file PrimitiveDateRange.class.php.
PrimitiveDateRange::checkRanges | ( | DateRange $ | range | ) | [protected] |
Definition at line 115 of file PrimitiveDateRange.class.php.
References DateRange::getEndStamp(), and DateRange::getStartStamp().
Referenced by import(), and importValue().
PrimitiveDateRange::checkType | ( | $ | object | ) | [private] |
Definition at line 127 of file PrimitiveDateRange.class.php.
References getObjectName(), ClassUtils::isInstanceOf(), and Assert::isTrue().
Referenced by importValue(), and setDefault().
static PrimitiveDateRange::create | ( | $ | name | ) | [static] |
Reimplemented in PrimitiveTimestampRange.
Definition at line 22 of file PrimitiveDateRange.class.php.
References BasePrimitive::$name.
PrimitiveDateRange::getObjectName | ( | ) | [protected] |
Reimplemented in PrimitiveTimestampRange.
Definition at line 110 of file PrimitiveDateRange.class.php.
Referenced by checkType(), import(), and of().
PrimitiveDateRange::import | ( | $ | scope | ) |
Reimplemented from BasePrimitive.
Definition at line 75 of file PrimitiveDateRange.class.php.
References checkRanges(), getObjectName(), and makeRange().
PrimitiveDateRange::importValue | ( | $ | value | ) |
Reimplemented from BasePrimitive.
Definition at line 55 of file PrimitiveDateRange.class.php.
References BasePrimitive::$value, checkRanges(), and checkType().
PrimitiveDateRange::makeRange | ( | $ | string | ) | [protected] |
Reimplemented in PrimitiveTimestampRange.
Definition at line 122 of file PrimitiveDateRange.class.php.
Referenced by import().
PrimitiveDateRange::of | ( | $ | class | ) |
WrongArgumentException |
Definition at line 31 of file PrimitiveDateRange.class.php.
References getObjectName(), ClassUtils::isInstanceOf(), and Assert::isTrue().
PrimitiveDateRange::setDefault | ( | $ | object | ) |
WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 46 of file PrimitiveDateRange.class.php.
References checkType().
PrimitiveDateRange::$className = null [private] |
Reimplemented in PrimitiveTimestampRange.
Definition at line 17 of file PrimitiveDateRange.class.php.