Dotclear 2.25
|
Public Member Functions | |
testStrNormal () | |
testStrTimestamp () | |
testStrWithTimestampAndTimezone () | |
testDt2Str () | |
testSetGetTZ () | |
testDt2DummyStr () | |
testISO8601 () | |
testISO8601WithAnotherTimezone () | |
testRfc822 () | |
testGetTimeOffset () | |
testToUTC () | |
testAddTimezone () | |
testGetZones () | |
testGetZonesFlip () | |
testGetZonesGroup () | |
testStr () | |
Test clearbrick dt (date) class.
testStrNormal | ( | ) |
Normal way. The result must be as the PHP function.
References dt\str().
testStrTimestamp | ( | ) |
Timestamp is set to 1 which is 1 second after Janurary, 1th 1970
References dt\str().
testStrWithTimestampAndTimezone | ( | ) |
Difference between two time zones. Europe/Paris is GMT+1 and Indian/Reunion is GMT+4. The difference might be 3. The timestamp is forced due to the summer or winter time.
References dt\str().
testDt2Str | ( | ) |
dt2str is a wrapper for dt::str but convert the human readable time into a computer understandable time
References dt\dt2str(), and dt\str().
testSetGetTZ | ( | ) |
References dt\getTZ().
testDt2DummyStr | ( | ) |
dtstr with anything but the time. We don't test strtodate, we test dt1str will always have the same behaviour.
References dt\dt2str(), and dt\str().
testISO8601 | ( | ) |
References dt\iso8601().
testISO8601WithAnotherTimezone | ( | ) |
References dt\iso8601().
testRfc822 | ( | ) |
References dt\rfc822().
testGetTimeOffset | ( | ) |
References dt\getTimeOffset().
testToUTC | ( | ) |
References dt\toUTC().
testAddTimezone | ( | ) |
References dt\addTimeZone(), and dt\getTimeOffset().
testGetZones | ( | ) |
testGetZonesFlip | ( | ) |
testGetZonesGroup | ( | ) |
testStr | ( | ) |
References dt\str().