Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00%
1 / 1
100.00%
1 / 1
CRAP
100.00%
2 / 2
Amfphp_Core_Amf_Types_Date
100.00%
1 / 1
100.00%
1 / 1
1
100.00%
2 / 2
 Amfphp_Core_Amf_Types_Date($timeStamp)
100.00%
1 / 1
1
100.00%
2 / 2
<?php
/**
* This file is part of amfPHP
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file license.txt.
* @package Amfphp_Core_Amf_Types
*/
/**
* Amf dates will be converted to and from this class. The PHP DateTime class is for PHP >= 5.2.0, and setTimestamp for PHP >= 5.3.0, so it can't be used in amfPHP
* Of course feel free to use it yourself if your host supports it.
*
* @package Amfphp_Core_Amf_Types
* @author Danny Kopping
*/
class Amfphp_Core_Amf_Types_Date
{
/**
* number of ms since 1st Jan 1970
* @var integer
*/
public $timeStamp;
public function Amfphp_Core_Amf_Types_Date($timeStamp)
{
$this->timeStamp = $timeStamp;
}
}