ObjFW  Diff

Differences From Artifact [5bb469595c]:

To Artifact [7de007fe1b]:


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
103
104
105
106
107
108
109
110
111





112
113
114
115
116





117
118
119
120
121
122
123
124
125











126
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149

150
151
152
153
154
155
156
157
158
159
160
161








+
+
+
+
+


-
+


-
+

-
+


-
+

-
+


-
+

-
+






+
+
+
+
+





+
+
+
+
+










+
+
+
+
+





+
+
+
+
+








-
+
+
+
+
+
+
+
+
+
+
+

 * \param sec The seconds since 1970-01-01 00:00:00
 * \param usec The microsecond part of the time
 * \return An initialized OFDate with the specified date and time
 */
- initWithTimeIntervalSince1970: (time_t)sec
		   microseconds: (suseconds_t)usec;

/**
 * \return The microsecond of the date
 */
- (suseconds_t)microsecond;

/**
 * \return The seconds of the date
 */
- (int)seconds;
- (int)second;

/**
 * \return The microseconds of the date
 * \return The minute of the date
 */
- (suseconds_t)microseconds;
- (int)minute;

/**
 * \return The minutes of the date
 * \return The hour of the date
 */
- (int)minutes;
- (int)hour;

/**
 * \return The hours of the date
 * \return The hour of the date in local time
 */
- (int)hours;
- (int)localHour;

/**
 * \return The day of the month of the date
 */
- (int)dayOfMonth;

/**
 * \return The day of the month of the date in local time
 */
- (int)localDayOfMonth;

/**
 * \return The month of the year of the date
 */
- (int)monthOfYear;

/**
 * \return The month of the year of the date in local time
 */
- (int)localMonthOfYear;

/**
 * \return The year of the date
 */
- (int)year;

/**
 * \return The day of the week of the date
 */
- (int)dayOfWeek;

/**
 * \return The day of the week of the date in local time
 */
- (int)localDayOfWeek;

/**
 * \return The day of the year of the date
 */
- (int)dayOfYear;

/**
 * \return The day of the year of the date in local time
 */
- (int)localDayOfYear;

/**
 * Creates a string of the date with the specified format.
 *
 * See the manpage for strftime for information on the format.
 *
 * \param fmt The format for the date string
 * \return A new, autoreleased OFString
 */
- (OFString*)stringWithFormat: (OFString*)fmt;
- (OFString*)dateStringWithFormat: (OFString*)fmt;

/**
 * Creates a string of the local date with the specified format.
 *
 * See the manpage for strftime for information on the format.
 *
 * \param fmt The format for the date string
 * \return A new, autoreleased OFString
 */
- (OFString*)localDateStringWithFormat: (OFString*)fmt;
@end