b2c385c072
-Added a very simple test that shows the API is corrupting memory and ends up crashing -Fixed build of other locale tests git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35503 a95241bf-73f2-0310-859d-f6bbb57e9c96
26 lines
414 B
C++
26 lines
414 B
C++
/*
|
|
* Copyright 2010, Haiku, Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _B_TIME_FORMAT_H_
|
|
#define _B_TIME_FORMAT_H_
|
|
|
|
|
|
#include <NumberFormat.h>
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
class BString;
|
|
|
|
|
|
class BTimeFormat : public BNumberFormat {
|
|
public:
|
|
status_t Format(int64 number, BString *buffer) const;
|
|
|
|
// TODO : version for char* buffer, size_t bufferSize
|
|
// TODO : parsing ?
|
|
};
|
|
|
|
|
|
#endif
|