Lines Matching refs:dt
7 $dt = DateTime::createFromFormat('O', '+0800');
8 var_dump($dt->getOffset());
10 $dt = DateTime::createFromFormat('P', '+08:00');
11 var_dump($dt->getOffset());
13 $dt = DateTime::createFromFormat('O', '-0800');
14 var_dump($dt->getOffset());
16 $dt = DateTime::createFromFormat('P', '-08:00');
17 var_dump($dt->getOffset());
19 $dt = DateTime::createFromFormat('[O]', '[+0800]');
20 var_dump($dt->getOffset());
22 $dt = DateTime::createFromFormat('[P]', '[+08:00]');
23 var_dump($dt->getOffset());
25 $dt = DateTime::createFromFormat('[O]', '[-0800]');
26 var_dump($dt->getOffset());
28 $dt = DateTime::createFromFormat('[P]', '[-08:00]');
29 var_dump($dt->getOffset());
31 $dt = DateTime::createFromFormat('O', 'GMT+0800');
32 var_dump($dt->getOffset());
34 $dt = DateTime::createFromFormat('P', 'GMT+08:00');
35 var_dump($dt->getOffset());
37 $dt = DateTime::createFromFormat('O', 'GMT-0800');
38 var_dump($dt->getOffset());
40 $dt = DateTime::createFromFormat('P', 'GMT-08:00');
41 var_dump($dt->getOffset());
43 $dt = DateTime::createFromFormat('[O]', '[GMT+0800]');
44 var_dump($dt->getOffset());
46 $dt = DateTime::createFromFormat('[P]', '[GMT+08:00]');
47 var_dump($dt->getOffset());
49 $dt = DateTime::createFromFormat('[O]', '[GMT-0800]');
50 var_dump($dt->getOffset());
52 $dt = DateTime::createFromFormat('[P]', '[GMT-08:00]');
53 var_dump($dt->getOffset());
55 $dt = DateTime::createFromFormat('O', 'invalid');
56 var_dump($dt);