* Allow use of unicode character in time view
* Some support for languages having an order different than H:M:S:AM (like chinese). Does not seem to work too well, but I can't spot what I missed * API to get the infos about the type of each field in a time format git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37517 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -20,6 +20,14 @@ enum {
|
||||
B_US
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
B_INVALID = B_BAD_DATA,
|
||||
B_AM_PM = 0,
|
||||
B_HOUR,
|
||||
B_MINUTE,
|
||||
B_SECOND
|
||||
} BDateField;
|
||||
|
||||
|
||||
class BCountry {
|
||||
public:
|
||||
@@ -44,7 +52,9 @@ class BCountry {
|
||||
virtual void FormatTime(BString* string, time_t time,
|
||||
bool longFormat);
|
||||
status_t FormatTime(BString* string, int*& fieldPositions,
|
||||
int& fieldCount, time_t time, bool LongFormat);
|
||||
int& fieldCount, time_t time, bool longFormat);
|
||||
status_t TimeFields(BDateField*& fields, int& fieldCount,
|
||||
bool longFormat);
|
||||
|
||||
bool DateFormat(BString&, bool longFormat) const;
|
||||
void SetDateFormat(const char* formatString,
|
||||
|
||||
Reference in New Issue
Block a user