CC: Add missing docstrings to DateTimeFactory and DateTimePicker
refs #4440
This commit is contained in:
parent
bd140f2828
commit
4585bf2555
|
@ -6,11 +6,18 @@ namespace Icinga\Util;
|
||||||
|
|
||||||
use \DateTime;
|
use \DateTime;
|
||||||
use \DateTimeZone;
|
use \DateTimeZone;
|
||||||
use Icinga\Util\ConfigAwareFactory;
|
use \Icinga\Util\ConfigAwareFactory;
|
||||||
use Icinga\Exception\ConfigurationError;
|
use \Icinga\Exception\ConfigurationError;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Factory for time zone aware DateTime objects
|
||||||
|
*/
|
||||||
class DateTimeFactory implements ConfigAwareFactory
|
class DateTimeFactory implements ConfigAwareFactory
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Time zone used throughout DateTime object creation
|
||||||
|
* @var DateTimeZone
|
||||||
|
*/
|
||||||
private static $timeZone;
|
private static $timeZone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -48,7 +48,7 @@ class DateTimePicker extends Zend_Form_Element_Xhtml
|
||||||
public $helper = 'formDateTime';
|
public $helper = 'formDateTime';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds whether a variable is a Unix timestamp
|
* Find whether a variable is a Unix timestamp
|
||||||
*
|
*
|
||||||
* @param mixed $timestamp
|
* @param mixed $timestamp
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|
Loading…
Reference in New Issue