xref: /haiku/src/apps/haikudepot/util/LocaleUtils.h (revision 15fb7d88e971c4d6c787c6a3a5c159afb1ebf77b)
1 /*
2  * Copyright 2019, Andrew Lindesay <apl@lindesay.co.nz>.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef LOCALE_UTILS_H
6 #define LOCALE_UTILS_H
7 
8 
9 #include <String.h>
10 
11 
12 class BCollator;
13 
14 
15 class LocaleUtils {
16 
17 public:
18 	static	BCollator*		GetSharedCollator();
19 	static	BString			TimestampToDateTimeString(uint64 millis);
20 
21 private:
22 	static	void			GetCollator(BCollator* collator);
23 
24 private:
25 	static	BCollator*		sSharedCollator;
26 };
27 
28 
29 #endif // LOCALE_UTILS_H
30