
Public Member Functions | ||||
| setValue ($object) | ||||
| ||||
| setMin ($object) | ||||
| ||||
| setMax ($object) | ||||
| ||||
| setDefault ($object) | ||||
| ||||
| importSingle ($scope) | ||||
| isEmpty ($scope) | ||||
| importMarried ($scope) | ||||
| importValue ($value) | ||||
Public Attributes | ||||
| const | DAY = 'day' | |||
| const | MONTH = 'month' | |||
| const | YEAR = 'year' | |||
Protected Member Functions | ||||
| checkRanges (Date $date) | ||||
| getObjectName () | ||||
| checkType ($object) | ||||
Definition at line 16 of file PrimitiveDate.class.php.
| PrimitiveDate::setValue | ( | $ | object | ) |
| WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 26 of file PrimitiveDate.class.php.
References checkType().

| PrimitiveDate::setMin | ( | $ | object | ) |
| WrongArgumentException |
Reimplemented from RangedPrimitive.
Definition at line 39 of file PrimitiveDate.class.php.
References checkType().

| PrimitiveDate::setMax | ( | $ | object | ) |
| WrongArgumentException |
Reimplemented from RangedPrimitive.
Definition at line 52 of file PrimitiveDate.class.php.
References checkType().

| PrimitiveDate::setDefault | ( | $ | object | ) |
| WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 65 of file PrimitiveDate.class.php.
References checkType().

| PrimitiveDate::importSingle | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Definition at line 74 of file PrimitiveDate.class.php.
References checkRanges(), getObjectName(), and BasePrimitive::import().
Referenced by importValue().

| PrimitiveDate::isEmpty | ( | $ | scope | ) |
Definition at line 99 of file PrimitiveDate.class.php.
References ComplexPrimitive::getState().
Referenced by PrimitiveTimestamp::importMarried(), and importMarried().

| PrimitiveDate::importMarried | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Reimplemented in PrimitiveTimestamp.
Definition at line 109 of file PrimitiveDate.class.php.
References checkRanges(), BasePrimitive::import(), isEmpty(), and BasePrimitive::isRequired().
Referenced by importValue().

| PrimitiveDate::importValue | ( | $ | value | ) |
Reimplemented from BasePrimitive.
Definition at line 148 of file PrimitiveDate.class.php.
References BasePrimitive::$value, checkType(), BasePrimitive::getName(), ComplexPrimitive::getState(), PrimitiveTimestamp::HOURS, importMarried(), importSingle(), PrimitiveTimestamp::MINUTES, and PrimitiveTimestamp::SECONDS.

| PrimitiveDate::checkRanges | ( | Date $ | date | ) | [protected] |
Definition at line 183 of file PrimitiveDate.class.php.
References Date::toStamp().
Referenced by PrimitiveTimestamp::importMarried(), importMarried(), and importSingle().

| PrimitiveDate::getObjectName | ( | ) | [protected] |
Reimplemented in PrimitiveTimestamp.
Definition at line 190 of file PrimitiveDate.class.php.
Referenced by checkType(), and importSingle().
| PrimitiveDate::checkType | ( | $ | object | ) | [protected] |
Definition at line 195 of file PrimitiveDate.class.php.
References getObjectName(), ClassUtils::isInstanceOf(), and Assert::isTrue().
Referenced by importValue(), setDefault(), setMax(), setMin(), and setValue().

| const PrimitiveDate::DAY = 'day' |
Definition at line 18 of file PrimitiveDate.class.php.
| const PrimitiveDate::MONTH = 'month' |
Definition at line 19 of file PrimitiveDate.class.php.
| const PrimitiveDate::YEAR = 'year' |
Definition at line 20 of file PrimitiveDate.class.php.
1.5.4