Dotclear 2.25
Loading...
Searching...
No Matches
dt Class Reference
Inheritance diagram for dt:

Public Member Functions

 testStrNormal ()
 
 testStrTimestamp ()
 
 testStrWithTimestampAndTimezone ()
 
 testDt2Str ()
 
 testSetGetTZ ()
 
 testDt2DummyStr ()
 
 testISO8601 ()
 
 testISO8601WithAnotherTimezone ()
 
 testRfc822 ()
 
 testGetTimeOffset ()
 
 testToUTC ()
 
 testAddTimezone ()
 
 testGetZones ()
 
 testGetZonesFlip ()
 
 testGetZonesGroup ()
 
 testStr ()
 

Detailed Description

Test clearbrick dt (date) class.

Member Function Documentation

◆ testStrNormal()

testStrNormal ( )

Normal way. The result must be as the PHP function.

References dt\str().

◆ testStrTimestamp()

testStrTimestamp ( )

Timestamp is set to 1 which is 1 second after Janurary, 1th 1970

References dt\str().

◆ testStrWithTimestampAndTimezone()

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()

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()

testSetGetTZ ( )

References dt\getTZ().

◆ testDt2DummyStr()

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()

testISO8601 ( )

References dt\iso8601().

◆ testISO8601WithAnotherTimezone()

testISO8601WithAnotherTimezone ( )

References dt\iso8601().

◆ testRfc822()

testRfc822 ( )

References dt\rfc822().

◆ testGetTimeOffset()

testGetTimeOffset ( )

References dt\getTimeOffset().

◆ testToUTC()

testToUTC ( )

References dt\toUTC().

◆ testAddTimezone()

testAddTimezone ( )

◆ testGetZones()

testGetZones ( )

◆ testGetZonesFlip()

testGetZonesFlip ( )

◆ testGetZonesGroup()

testGetZonesGroup ( )

◆ testStr()

testStr ( )

References dt\str().


The documentation for this class was generated from the following file: