~ubuntu-branches/ubuntu/karmic/gnustep-base/karmic

« back to all changes in this revision

Viewing changes to Headers/gnustep/base/NSDateFormatter.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Heintzmann
  • Date: 2005-04-17 00:14:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050417001438-enf0y07c9tku85z1
Tags: 1.10.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Interface for NSDateFormatter for GNUStep
2
 
   Copyright (C) 1998 Free Software Foundation, Inc.
3
 
 
4
 
   Header Written by:  Camille Troillard <tuscland@wanadoo.fr>
5
 
   Created: November 1998
6
 
   Modified by:  Richard Frith-Macdonald <richard@brainstorm.co.uk>
7
 
   
8
 
   This file is part of the GNUstep Base Library.
9
 
 
10
 
   This library is free software; you can redistribute it and/or
11
 
   modify it under the terms of the GNU Library General Public
12
 
   License as published by the Free Software Foundation; either
13
 
   version 2 of the License, or (at your option) any later version.
14
 
   
15
 
   This library is distributed in the hope that it will be useful,
16
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
 
   Library General Public License for more details.
19
 
   
20
 
   You should have received a copy of the GNU Library General Public
21
 
   License along with this library; if not, write to the Free
22
 
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
23
 
*/
24
 
 
25
 
#ifndef __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
26
 
#define __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
27
 
 
28
 
#ifndef STRICT_OPENSTEP
29
 
 
30
 
#include <Foundation/NSFormatter.h>
31
 
 
32
 
@interface NSDateFormatter : NSFormatter <NSCoding, NSCopying>
33
 
{
34
 
  NSString      *_dateFormat;
35
 
  BOOL          _allowsNaturalLanguage;
36
 
}
37
 
 
38
 
/* Initializing an NSDateFormatter */
39
 
- (id) initWithDateFormat: (NSString *)format
40
 
     allowNaturalLanguage: (BOOL)flag;
41
 
 
42
 
/* Determining Attributes */
43
 
- (BOOL) allowsNaturalLanguage;
44
 
- (NSString *) dateFormat;
45
 
@end
46
 
 
47
 
#endif
48
 
 
49
 
#endif /* _NSDateFormatter_h_GNUSTEP_BASE_INCLUDE */