CWIS Developer Documentation
|
Public Member Functions | |
testInputFormats () | |
Test date input formats we are supposed to handle, to make sure they result in the right precision and date output values. More... | |
Definition at line 3 of file Date--Test.php.
Date_Test::testInputFormats | ( | ) |
Test date input formats we are supposed to handle, to make sure they result in the right precision and date output values.
(Date should support this input format, but currently (2018-01-29) does not) [ "Inputs" => [ "1996-1999", ], "Precision" => Date::PRE_BEGINYEAR | Date::PRE_ENDYEAR, "Formatted" => "1996-1999", "BeginDate" => "1996-1-01", "EndDate" => "1999-01-01", ],
Definition at line 9 of file Date--Test.php.
References Date\PRE_BEGINDAY, Date\PRE_BEGINMONTH, Date\PRE_BEGINYEAR, and Date\PRE_COPYRIGHT.