chromium/third_party/icu/source/i18n/zrule.cpp

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2009-2011, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/

/**
 * \file 
 * \brief C API: Time zone rule classes
 */

#include "unicode/utypes.h"

#if !UCONFIG_NO_FORMATTING

#include "unicode/uobject.h"
#include "zrule.h"
#include "unicode/tzrule.h"
#include "cmemory.h"
#include "unicode/ustring.h"
#include "unicode/parsepos.h"

U_NAMESPACE_USE

/*********************************************************************
 * ZRule API
 *********************************************************************/

U_CAPI void U_EXPORT2
zrule_close(ZRule* rule) {}

U_CAPI UBool U_EXPORT2
zrule_equals(const ZRule* rule1, const ZRule* rule2) {}

U_CAPI void U_EXPORT2
zrule_getName(ZRule* rule, char16_t* name, int32_t nameLength) {}

U_CAPI int32_t U_EXPORT2
zrule_getRawOffset(ZRule* rule) {}

U_CAPI int32_t U_EXPORT2
zrule_getDSTSavings(ZRule* rule) {}

U_CAPI UBool U_EXPORT2
zrule_isEquivalentTo(ZRule* rule1,  ZRule* rule2) {}

/*********************************************************************
 * IZRule API
 *********************************************************************/

U_CAPI IZRule* U_EXPORT2
izrule_open(const char16_t* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) {}

U_CAPI void U_EXPORT2
izrule_close(IZRule* rule) {}

U_CAPI IZRule* U_EXPORT2
izrule_clone(IZRule *rule) {}

U_CAPI UBool U_EXPORT2
izrule_equals(const IZRule* rule1, const IZRule* rule2) {}

U_CAPI void U_EXPORT2
izrule_getName(IZRule* rule, char16_t* & name, int32_t & nameLength) {}

U_CAPI int32_t U_EXPORT2
izrule_getRawOffset(IZRule* rule) {}

U_CAPI int32_t U_EXPORT2
izrule_getDSTSavings(IZRule* rule) {}

U_CAPI UBool U_EXPORT2
izrule_isEquivalentTo(IZRule* rule1,  IZRule* rule2) {}

U_CAPI UBool U_EXPORT2
izrule_getFirstStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, 
                    UDate& result) {}

U_CAPI UBool U_EXPORT2
izrule_getFinalStart(IZRule* rule, int32_t prevRawOffset, int32_t prevDSTSavings, 
                    UDate& result) {}

U_CAPI UBool U_EXPORT2
izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, 
                   int32_t prevDSTSavings, UBool inclusive, UDate& result) {}

U_CAPI UBool U_EXPORT2
izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, 
                       int32_t prevDSTSavings, UBool inclusive, UDate& result) {}

U_CAPI UClassID U_EXPORT2
izrule_getStaticClassID(IZRule* rule) {}

U_CAPI UClassID U_EXPORT2
izrule_getDynamicClassID(IZRule* rule) {}

#endif