#include "dayperiodrules.h"
#include "unicode/ures.h"
#include "bytesinkutil.h"
#include "charstr.h"
#include "cstring.h"
#include "ucln_in.h"
#include "uhash.h"
#include "ulocimp.h"
#include "umutex.h"
#include "uresimp.h"
U_NAMESPACE_BEGIN
namespace {
struct DayPeriodRulesData : public UMemory { … } *data = …;
enum CutoffType { … };
}
struct DayPeriodRulesDataSink : public ResourceSink { … };
struct DayPeriodRulesCountSink : public ResourceSink { … };
DayPeriodRulesDataSink::~DayPeriodRulesDataSink() { … }
DayPeriodRulesCountSink::~DayPeriodRulesCountSink() { … }
namespace {
UInitOnce initOnce { … };
U_CFUNC UBool U_CALLCONV dayPeriodRulesCleanup() { … }
}
void U_CALLCONV DayPeriodRules::load(UErrorCode &errorCode) { … }
const DayPeriodRules *DayPeriodRules::getInstance(const Locale &locale, UErrorCode &errorCode) { … }
DayPeriodRules::DayPeriodRules() : … { … }
double DayPeriodRules::getMidPointForDayPeriod(
DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { … }
int32_t DayPeriodRules::getStartHourForDayPeriod(
DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { … }
int32_t DayPeriodRules::getEndHourForDayPeriod(
DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { … }
DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { … }
void DayPeriodRules::add(int32_t startHour, int32_t limitHour, DayPeriod period) { … }
UBool DayPeriodRules::allHoursAreSet() { … }
U_NAMESPACE_END