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

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
 ******************************************************************************
 * Copyright (C) 2003-2013, International Business Machines Corporation
 * and others. All Rights Reserved.
 ******************************************************************************
 *
 * File PERSNCAL.CPP
 *
 * Modification History:
 *
 *   Date        Name        Description
 *   9/23/2003   mehran      posted to icu-design
 *   10/1/2012   roozbeh     Fixed algorithm and heavily refactored and rewrote
 *                           based on the implementation of Gregorian
 *****************************************************************************
 */

#include "persncal.h"

#if !UCONFIG_NO_FORMATTING

#include "umutex.h"
#include "gregoimp.h" // Math
#include <float.h>

static const int16_t kPersianNumDays[]
=; // 0-based, for day-in-year
static const int8_t kPersianMonthLength[]
=; // 0-based
static const int8_t kPersianLeapMonthLength[]
=; // 0-based

static const int32_t kPersianCalendarLimits[UCAL_FIELD_COUNT][4] =;

U_NAMESPACE_BEGIN

#endif