Class DateTimePropertySupport
Provides support for datetime properties.
Methods summary
public static
set( mixed & $property
, mixed $datetime
)
Sets the datetime in a property.
Sets the datetime in a property.
Parameters
$property
- Reference to the property to set.
$datetime
- Date and time.
public static
get( mixed & $property
)
: ICanBoogie\DateTime
Returns the ICanBoogie\DateTime instance of a property.
Returns the ICanBoogie\DateTime instance of a property.
Parameters
$property
- Reference to the property to return.
Returns
ICanBoogie\DateTime
The function always return a ICanBoogie\DateTime instance.