xref: /haiku/headers/os/locale/DateFormat.h (revision 1345706a9ff6ad0dc041339a02d4259998b0765d)
1 /*
2  * Copyright 2010, Haiku, Inc.
3  * Distributed under the terms of the MIT Licence.
4  */
5 #ifndef _B_DATE_FORMAT_H_
6 #define _B_DATE_FORMAT_H_
7 
8 #include <DateTimeFormat.h>
9 
10 
11 class BString;
12 
13 class BDateFormat : public BDateTimeFormat {
14 public:
15 								BDateFormat();
16 								BDateFormat(const BDateFormat &other);
17 	virtual						~BDateFormat();
18 
19 								// formatting
20 
21 								// no-frills version: Simply appends the
22 								// formatted date to the string buffer.
23 								// Can fail only with B_NO_MEMORY or B_BAD_VALUE.
24 	virtual	status_t 			Format(bigtime_t value, BString* buffer) const;
25 
26 								// TODO: ... all, basically!
27 };
28 
29 
30 #endif	// _B_DATE_FORMAT_H_
31