* Add an API to get a formatted time along with delimiters for the differrent fields, for further parsing/formatting

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37514 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-07-14 13:20:20 +00:00
parent 859b891e3d
commit c96d1da735
2 changed files with 43 additions and 10 deletions
+7 -6
View File
@@ -35,15 +35,16 @@ class BCountry {
// date & time
virtual void FormatDate(char* string, size_t maxSize, time_t time,
virtual void FormatDate(char* string, size_t maxSize, time_t time,
bool longFormat);
virtual void FormatDate(BString* string, time_t time, bool longFormat);
virtual void FormatTime(char* string, size_t maxSize, time_t time,
virtual void FormatDate(BString* string, time_t time,
bool longFormat);
virtual void FormatTime(BString* string, time_t time,
virtual void FormatTime(char* string, size_t maxSize, time_t time,
bool longFormat);
virtual void FormatTime(BString* string, int*& fieldPositions,
int& fieldCount, time_t time);
virtual void FormatTime(BString* string, time_t time,
bool longFormat);
status_t FormatTime(BString* string, int*& fieldPositions,
int& fieldCount, time_t time, bool LongFormat);
bool DateFormat(BString&, bool longFormat) const;
void SetDateFormat(const char* formatString,