1 /* 2 * PROJECT: ReactOS system libraries 3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) 4 * PURPOSE: Japanese era support 5 * COPYRIGHT: Copyright 2019 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com) 6 */ 7 #define JAPANESE_MAX_TWODIGITYEAR 99 8 9 typedef struct JAPANESE_ERA 10 { 11 WORD wYear; 12 WORD wMonth; 13 WORD wDay; 14 WCHAR szEraName[16]; 15 WCHAR szEraAbbrev[5]; 16 WCHAR szEnglishEraName[24]; 17 WCHAR szEnglishEraAbbrev[5]; 18 } JAPANESE_ERA, *PJAPANESE_ERA; 19 typedef const JAPANESE_ERA *PCJAPANESE_ERA; 20 21 BOOL JapaneseEra_IsFirstYearGannen(void); 22 PCJAPANESE_ERA JapaneseEra_Find(const SYSTEMTIME *pst OPTIONAL); 23 void JapaneseEra_ClearCache(void); 24