/*
*******************************************************************************
-* Copyright (C) 2003-2009,2012, International Business Machines Corporation and *
-* others. All Rights Reserved. *
+* Copyright (C) 2003-2009,2012,2016 International Business Machines Corporation and
+* others. All Rights Reserved.
*******************************************************************************
*
* File JAPANCAL.CPP
#if !UCONFIG_NO_FORMATTING
+#include "cmemory.h"
#include "japancal.h"
#include "unicode/gregocal.h"
#include "umutex.h"
{ 1989, 1, 8 } // Heisei 235
};
-#define kEraCount (sizeof(kEraInfo)/sizeof(kEraInfo[0]))
+#define kEraCount UPRV_LENGTHOF(kEraInfo)
/**
* The current era, for reference.