ObjFW  Diff

Differences From Artifact [93145b86e5]:

To Artifact [e2edddf9dc]:


258
259
260
261
262
263
264
265
266
267
268
269

270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
258
259
260
261
262
263
264





265













266
267
268
269
270
271
272







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







	/* Time zone */
	seconds += -(double)tz * 60;

	return seconds;
}

@implementation OFDateSingleton
- (instancetype)autorelease
{
	return self;
}

OF_SINGLETON_METHODS
- (instancetype)retain
{
	return self;
}

- (void)release
{
}

- (unsigned int)retainCount
{
	return OFMaxRetainCount;
}
@end

@implementation OFDatePlaceholder
#ifdef __clang__
/* We intentionally don't call into super, so silence the warning. */
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wunknown-pragmas"
317
318
319
320
321
322
323


324
325
326
327
328
329
330
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315







+
+








	return (id)[[OFConcreteDate alloc]
	    initWithTimeIntervalSince1970: seconds];
}
#ifdef __clang__
# pragma clang diagnostic pop
#endif

OF_SINGLETON_METHODS
@end

@implementation OFConcreteDate
- (instancetype)initWithTimeIntervalSince1970: (OFTimeInterval)seconds
{
	self = [super initWithTimeIntervalSince1970: seconds];