CC: Add missing docstrings to DateTimeFactory and DateTimePicker

refs #4440
This commit is contained in:
Eric Lippmann 2013-08-12 17:27:23 +02:00
parent bd140f2828
commit 4585bf2555
2 changed files with 10 additions and 3 deletions

View File

@ -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;
/** /**

View File

@ -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