a38f25f7cd
Upgraded IDNA to IDNA2 Added PEAR Date > fixed: The each function is deprecated
23 lines
445 B
PHP
23 lines
445 B
PHP
--TEST--
|
|
Bug #9213: Date_Calc doesn't like including Date.php
|
|
--FILE--
|
|
<?php
|
|
/**
|
|
* Test for: Date_Calc
|
|
* Parts tested: DATE_CALC_FORMAT constant
|
|
* $Id$
|
|
*/
|
|
|
|
require_once 'Date.php'; //Uh oh! I break things
|
|
require_once 'Date/Calc.php';
|
|
|
|
$calc = new Date_Calc();
|
|
print $calc->beginOfWeek(1, 6, 2006) . "\n";
|
|
print $calc->beginOfWeek(1, 6, 2006) . "\n";
|
|
print $calc->beginOfNextWeek(1, 6, 2006) . "\n";
|
|
?>
|
|
--EXPECT--
|
|
20060529
|
|
20060529
|
|
20060605
|