equal
deleted
inserted
replaced
13 * obtain it through the world-wide-web, please send an email |
13 * obtain it through the world-wide-web, please send an email |
14 * to license@zend.com so we can send you a copy immediately. |
14 * to license@zend.com so we can send you a copy immediately. |
15 * |
15 * |
16 * @category Zend |
16 * @category Zend |
17 * @package Zend_TimeSync |
17 * @package Zend_TimeSync |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @version $Id: TimeSync.php 20096 2010-01-06 02:05:09Z bkarwin $ |
19 * @version $Id: TimeSync.php 24593 2012-01-05 20:35:02Z matthew $ |
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * Zend_Date |
24 * Zend_Date |
26 require_once 'Zend/Date.php'; |
26 require_once 'Zend/Date.php'; |
27 |
27 |
28 /** |
28 /** |
29 * @category Zend |
29 * @category Zend |
30 * @package Zend_TimeSync |
30 * @package Zend_TimeSync |
31 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
31 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 */ |
33 */ |
34 class Zend_TimeSync implements IteratorAggregate |
34 class Zend_TimeSync implements IteratorAggregate |
35 { |
35 { |
36 /** |
36 /** |
231 * |
231 * |
232 * If there are multiple servers listed, this method will act as a |
232 * If there are multiple servers listed, this method will act as a |
233 * facade and will try to return the date from the first server that |
233 * facade and will try to return the date from the first server that |
234 * returns a valid result. |
234 * returns a valid result. |
235 * |
235 * |
236 * @param $locale - OPTIONAL locale |
236 * @param Zend_Locale $locale - OPTIONAL locale |
237 * @return object |
237 * @return object |
238 * @throws Zend_TimeSync_Exception |
238 * @throws Zend_TimeSync_Exception |
239 */ |
239 */ |
240 public function getDate($locale = null) |
240 public function getDate($locale = null) |
241 { |
241 { |