DateUtilsAware
- Full name:
\Qubus\Validation\Rules\Traits\DateUtilsAware
Methods
isValidDate
Check the $date is valid.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$date | mixed |
throwException
Throw exception.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$value | mixed |
getTimeStamp
Given $date and get the time stamp
Parameters:
| Parameter | Type | Description |
|---|---|---|
$date | mixed |