diff options
Diffstat (limited to 'hwpfilter/source/datecode.h')
-rw-r--r-- | hwpfilter/source/datecode.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/hwpfilter/source/datecode.h b/hwpfilter/source/datecode.h new file mode 100644 index 000000000000..429d1d1c913e --- /dev/null +++ b/hwpfilter/source/datecode.h @@ -0,0 +1,57 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef __DATECODE_H__ +#define __DATACODE_H__ + +static hchar defaultform[] = +{ + '1', 0x9165, 32, '2', 0xB6A9, 32, '3', 0xB7A9, 0 +}; +#ifdef _DATECODE_WEEK_DEFINES_ +static hchar kor_week[] = +{ + 0xB7A9, 0xB6A9, 0xD1C1, 0xAE81, 0xA1A2, 0x8B71, 0xC9A1 +}; +static hchar china_week[] = +{ + 0x4CC8, 0x4BE4, 0x525A, 0x48D8, 0x45AB, 0x4270, 0x50B4 +}; +static char eng_week[] = { "SunMonTueWedThuFriSat" }; +static char eng_mon[] = { "JanFebMarAprMayJunJulAugSepOctNovDec" }; +static const char *en_mon[] = +{ + "January", "February", "March", "April", "May", "June", "July", + "August", "September", "October", "November", "December" +}; +static const char *en_week[] = +{ + "Sunday", "Monday", "Tuesday", "Wednesday", + "Thursday", "Friday", "Saturday" +}; +#endif //_DATECODE_WEEK_DEFINES_ +#endif |