summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/SerializableTimeZoneTime.php
blob: a9b0f849cb7d4e60247dfb8dfcfa2921f4fbdf16 (plain) (blame)
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
<?php
/**
 * Contains \jamesiarmes\PhpEws\Type\SerializableTimeZoneTime.
 */

namespace jamesiarmes\PhpEws\Type;

use \jamesiarmes\PhpEws\Type;

/**
 * Represents an offset from the time relative to Coordinated Universal Time
 * (UTC) that is represented by the Bias (UTC) element in regions where daylight
 * saving time is observed.
 *
 * This class also contains information about when the transition to daylight
 * saving time from standard time occurs.
 *
 * @package php-ews\Type
 */
class SerializableTimeZoneTime extends Type
{
    /**
     * Represents the offset from the UTC offset that is identified by the Bias
     * (UTC) element for standard time and daylight saving time.
     *
     * This value is in minutes.
     *
     * @since Exchange 2007
     *
     * @var integer
     */
    public $Bias;

    /**
     * Represents the day of the week when the transition to and from standard
     * time and daylight saving time occurs.
     *
     * @since Exchange 2007
     *
     * @var string
     *
     * @see \jamesiarmes\PhpEws\Enumeration\DayOfWeekType
     */
    public $DayOfWeek;

    /**
     * Represents the nth occurrence of the day that is specified in the
     * DayOfWeek element that represents the date of transition from and to
     * standard time and daylight saving time.
     *
     * The maximum value for this element can be either 4 or 5, depending on the
     * month and year.
     *
     * @since Exchange 2007
     *
     * @var integer
     */
    public $DayOrder;

    /**
     * Represents the transition month of the year to and from standard time and
     * daylight saving time.
     *
     * The value represents the ordinal rank of the month by occurrence and must
     * be a number between 1 and 12
     *
     * @since Exchange 2007
     *
     * @var integer
     */
    public $Month;

    /**
     * Represents the transition time of day to and from standard time and
     * daylight saving time.
     *
     * @since Exchange 2007
     *
     * @var string
     *
     * @todo Create a Time class that extends DateTime.
     */
    public $Time;

    /**
     * Used to define a time zone that changes depending on the year.
     *
     * The year format is YYYY.
     *
     * This element is optional.
     *
     * @since Exchange 2007 SP1
     *
     * @var string
     */
    public $Year;
}