1 /* 2 * Copyright 2010, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _B_TIME_FORMAT_H_ 6 #define _B_TIME_FORMAT_H_ 7 8 9 #include <NumberFormat.h> 10 #include <SupportDefs.h> 11 12 13 class BString; 14 15 16 class BTimeFormat : public BNumberFormat { 17 public: 18 status_t Format(int64 number, BString *buffer) const; 19 20 // TODO : version for char* buffer, size_t bufferSize 21 // TODO : parsing ? 22 }; 23 24 25 #endif 26