2
/** Declaration of extension methods for base additions
4
Copyright (C) 2003-2010 Free Software Foundation, Inc.
6
Written by: Richard Frith-Macdonald <rfm@gnu.org>
7
and: Adam Fedor <fedor@gnu.org>
9
This file is part of the GNUstep Base Library.
11
This library is free software; you can redistribute it and/or
12
modify it under the terms of the GNU Lesser General Public
13
License as published by the Free Software Foundation; either
14
version 2 of the License, or (at your option) any later version.
16
This library is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
Library General Public License for more details.
21
You should have received a copy of the GNU Lesser General Public
22
License along with this library; if not, write to the Free
23
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
28
#ifndef INCLUDED_NSCalendarDate_GNUstepBase_h
29
#define INCLUDED_NSCalendarDate_GNUstepBase_h
31
#import <GNUstepBase/GSVersionMacros.h>
32
#import <Foundation/NSCalendarDate.h>
34
#if defined(__cplusplus)
38
#if OS_API_VERSION(GS_API_NONE,GS_API_LATEST)
40
@interface NSCalendarDate (GNUstepBase)
42
* The ISO standard week of the year is based on the first week of the
43
* year being that week (starting on monday) for which the thursday
44
* is on or after the first of january.<br />
45
* This has the effect that, if january first is a friday, saturday or
46
* sunday, the days of that week (up to and including the sunday) are
47
* considered to be in week 53 of the preceding year. Similarly if the
48
* last day of the year is a monday tuesday or wednesday, these days are
49
* part of week 1 of the next year.
51
- (NSInteger) weekOfYear;
54
#endif /* OS_API_VERSION */
56
#if defined(__cplusplus)
60
#endif /* INCLUDED_NSCalendarDate_GNUstepBase_h */