File: DateTimeInterface.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (102 lines) | stat: -rw-r--r-- 3,652 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="UTF-8" ?>
<interface xmlns="http://xml.phpdox.net/src" full="DateTimeInterface" namespace="" name="DateTimeInterface">
  <constant name="ATOM" value="&quot;Y-m-d\TH:i:sP&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="COOKIE" value="&quot;l, d-M-Y H:i:s T&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="ISO8601" value="&quot;Y-m-d\TH:i:sO&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC822" value="&quot;D, d M y H:i:s O&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC850" value="&quot;l, d-M-y H:i:s T&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC1036" value="&quot;D, d M y H:i:s O&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC1123" value="&quot;D, d M Y H:i:s O&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC2822" value="&quot;D, d M Y H:i:s O&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC3339" value="&quot;Y-m-d\TH:i:sP&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RFC3339_EXTENDED" value="&quot;Y-m-d\TH:i:s.vP&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="RSS" value="&quot;D, d M Y H:i:s O&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <constant name="W3C" value="&quot;Y-m-d\TH:i:sP&quot;">
    <docblock>
      <var type="string"/>
    </docblock>
  </constant>
  <method name="diff" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Returns the difference between two DateTime objects">Object oriented style</description>
      <return type="DateInterval"/>
    </docblock>
    <parameter name="datetime2" optional="false" byreference="false" type="object" class="DateTimeInterface"/>
    <parameter name="absolute" optional="true" byreference="false" type="object" class="bool"/>
  </method>
  <method name="format" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Returns date formatted according to given format">Object oriented style</description>
      <return type="string"/>
    </docblock>
    <parameter name="format" optional="false" byreference="false" type="string"/>
  </method>
  <method name="getOffset" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Returns the timezone offset">Object oriented style</description>
      <return type="int"/>
    </docblock>
  </method>
  <method name="getTimestamp" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Gets the Unix timestamp">Object oriented style</description>
      <return type="int"/>
    </docblock>
  </method>
  <method name="getTimezone" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Return time zone relative to given DateTime">Object oriented style</description>
      <return type="DateTimeZone"/>
    </docblock>
  </method>
  <method name="__wakeup" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="The __wakeup handler"/>
      <return type="void"/>
    </docblock>
  </method>
</interface>