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