Public Member Functions | ||||
setValue ($time) | ||||
| ||||
setMin ($time) | ||||
| ||||
setMax ($time) | ||||
| ||||
setDefault ($time) | ||||
| ||||
importSingle ($scope) | ||||
isEmpty ($scope) | ||||
importMarried ($scope) | ||||
import ($scope) | ||||
importValue ($value) | ||||
Public Attributes | ||||
const | HOURS = PrimitiveTimestamp::HOURS | |||
const | MINUTES = PrimitiveTimestamp::MINUTES | |||
const | SECONDS = PrimitiveTimestamp::SECONDS | |||
Private Member Functions | ||||
isMarriedEmpty ($scope) | ||||
checkLimits (Time $time) |
Definition at line 16 of file PrimitiveTime.class.php.
PrimitiveTime::setValue | ( | $ | time | ) |
WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 26 of file PrimitiveTime.class.php.
References Assert::isTrue().
PrimitiveTime::setMin | ( | $ | time | ) |
WrongArgumentException |
Reimplemented from RangedPrimitive.
Definition at line 39 of file PrimitiveTime.class.php.
References Assert::isTrue().
PrimitiveTime::setMax | ( | $ | time | ) |
WrongArgumentException |
Reimplemented from RangedPrimitive.
Definition at line 52 of file PrimitiveTime.class.php.
References Assert::isTrue().
PrimitiveTime::setDefault | ( | $ | time | ) |
WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 65 of file PrimitiveTime.class.php.
References Assert::isTrue().
PrimitiveTime::importSingle | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Definition at line 74 of file PrimitiveTime.class.php.
References checkLimits(), and BasePrimitive::import().
Referenced by importValue().
PrimitiveTime::isEmpty | ( | $ | scope | ) |
Definition at line 94 of file PrimitiveTime.class.php.
References ComplexPrimitive::getState(), and isMarriedEmpty().
Referenced by import().
PrimitiveTime::importMarried | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Definition at line 102 of file PrimitiveTime.class.php.
References checkLimits(), and isMarriedEmpty().
PrimitiveTime::import | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Definition at line 135 of file PrimitiveTime.class.php.
References isEmpty().
PrimitiveTime::importValue | ( | $ | value | ) |
Reimplemented from BasePrimitive.
Definition at line 146 of file PrimitiveTime.class.php.
References BasePrimitive::$value, BasePrimitive::getName(), importSingle(), and Assert::isTrue().
PrimitiveTime::isMarriedEmpty | ( | $ | scope | ) | [private] |
Definition at line 159 of file PrimitiveTime.class.php.
Referenced by importMarried(), and isEmpty().
PrimitiveTime::checkLimits | ( | Time $ | time | ) | [private] |
Definition at line 166 of file PrimitiveTime.class.php.
References Time::toSeconds().
Referenced by importMarried(), and importSingle().
Definition at line 18 of file PrimitiveTime.class.php.
Definition at line 19 of file PrimitiveTime.class.php.
Definition at line 20 of file PrimitiveTime.class.php.