1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: datecode.h,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __DATECODE_H__
32 #define __DATACODE_H__
34 static hchar defaultform
[] =
36 '1', 0x9165, 32, '2', 0xB6A9, 32, '3', 0xB7A9, 0
38 #ifdef _DATECODE_WEEK_DEFINES_
39 static hchar kor_week
[] =
41 0xB7A9, 0xB6A9, 0xD1C1, 0xAE81, 0xA1A2, 0x8B71, 0xC9A1
43 static hchar china_week
[] =
45 0x4CC8, 0x4BE4, 0x525A, 0x48D8, 0x45AB, 0x4270, 0x50B4
47 static char eng_week
[] = { "SunMonTueWedThuFriSat" };
48 static char eng_mon
[] = { "JanFebMarAprMayJunJulAugSepOctNovDec" };
49 static const char *en_mon
[] =
51 "January", "February", "March", "April", "May", "June", "July",
52 "August", "September", "October", "November", "December"
54 static const char *en_week
[] =
56 "Sunday", "Monday", "Tuesday", "Wednesday",
57 "Thursday", "Friday", "Saturday"
59 #endif //_DATECODE_WEEK_DEFINES_