source: trunk/Cocoa/Pester/Source/NSCalendarDate-OFExtensions.h@ 628

Last change on this file since 628 was 603, checked in by Nicholas Riley, 15 years ago

Remove [NSCalendarDate initWithTime_t:]: it's not used anywhere and was generating a compiler warning.

File size: 918 bytes
Line 
1// Copyright 1997-2002 Omni Development, Inc. All rights reserved.
2//
3// This software may only be used and reproduced according to the
4// terms in the file OmniSourceLicense.html, which should be
5// distributed with this project and can also be found at
6// http://www.omnigroup.com/DeveloperResources/OmniSourceLicense.html.
7//
8// $Header: /Network/Source/CVS/OmniGroup/Frameworks/OmniFoundation/OpenStepExtensions.subproj/NSCalendarDate-OFExtensions.h,v 1.12 2002/03/09 01:54:02 kc Exp $
9
10#import <Foundation/NSCalendarDate.h>
11
12@interface NSCalendarDate (OFExtensions)
13+ (NSCalendarDate *)unixReferenceDate;
14- (void)setToUnixDateFormat;
15
16- (NSCalendarDate *)safeReferenceDate;
17- (NSCalendarDate *)firstDayOfMonth;
18- (NSCalendarDate *)lastDayOfMonth;
19- (int)numberOfDaysInMonth;
20- (int)weekOfMonth;
21 // Returns 1 through 6. Weeks are Sunday-Saturday.
22- (BOOL)isInSameWeekAsDate:(NSCalendarDate *)otherDate;
23
24@end
Note: See TracBrowser for help on using the repository browser.