mirror of
https://review.haiku-os.org/haiku
synced 2025-02-03 04:07:18 +01:00
32 lines
412 B
C
32 lines
412 B
C
|
/*
|
||
|
Copyright 2010, Haiku, Inc.
|
||
|
Distributed under the terms of the MIT License.
|
||
|
*/
|
||
|
|
||
|
|
||
|
#ifndef __TIMEZONE_H__
|
||
|
#define __TIMEZONE_H__
|
||
|
|
||
|
|
||
|
class BString;
|
||
|
namespace icu_44 {
|
||
|
class TimeZone;
|
||
|
}
|
||
|
|
||
|
|
||
|
class BTimeZone {
|
||
|
public:
|
||
|
BTimeZone(const char* zoneCode);
|
||
|
~BTimeZone();
|
||
|
|
||
|
void Name(BString& name);
|
||
|
void Code(BString& code);
|
||
|
int OffsetFromGMT();
|
||
|
|
||
|
private:
|
||
|
icu_44::TimeZone* fICUTimeZone;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|