--- old/src/share/classes/sun/text/resources/FormatData_pt.java Mon Aug 13 12:31:09 2012 +++ /dev/null Mon Aug 13 12:31:09 2012 @@ -1,138 +0,0 @@ -/* - * Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. Oracle designates this - * particular file as subject to the "Classpath" exception as provided - * by Oracle in the LICENSE file that accompanied this code. - * - * This code 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 General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/* - * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved - * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved - * - * The original version of this source code and documentation - * is copyrighted and owned by Taligent, Inc., a wholly-owned - * subsidiary of IBM. These materials are provided under terms - * of a License Agreement between Taligent and Sun. This technology - * is protected by multiple US and International patents. - * - * This notice and attribution to Taligent may not be removed. - * Taligent is a registered trademark of Taligent, Inc. - * - */ - -package sun.text.resources; - -import java.util.ListResourceBundle; - -public class FormatData_pt extends ListResourceBundle { - /** - * Overrides ListResourceBundle - */ - protected final Object[][] getContents() { - return new Object[][] { - { "MonthNames", - new String[] { - "Janeiro", // january - "Fevereiro", // february - "Mar\u00e7o", // march - "Abril", // april - "Maio", // may - "Junho", // june - "Julho", // july - "Agosto", // august - "Setembro", // september - "Outubro", // october - "Novembro", // november - "Dezembro", // december - "" // month 13 if applicable - } - }, - { "MonthAbbreviations", - new String[] { - "Jan", // abb january - "Fev", // abb february - "Mar", // abb march - "Abr", // abb april - "Mai", // abb may - "Jun", // abb june - "Jul", // abb july - "Ago", // abb august - "Set", // abb september - "Out", // abb october - "Nov", // abb november - "Dez", // abb december - "" // abb month 13 if applicable - } - }, - { "DayNames", - new String[] { - "Domingo", // Sunday - "Segunda-feira", // Monday - "Ter\u00e7a-feira", // Tuesday - "Quarta-feira", // Wednesday - "Quinta-feira", // Thursday - "Sexta-feira", // Friday - "S\u00e1bado" // Saturday - } - }, - { "DayAbbreviations", - new String[] { - "Dom", // abb Sunday - "Seg", // abb Monday - "Ter", // abb Tuesday - "Qua", // abb Wednesday - "Qui", // abb Thursday - "Sex", // abb Friday - "S\u00e1b" // abb Saturday - } - }, - { "NumberElements", - new String[] { - ",", // decimal al separator - ".", // group (thousands) separator - ";", // list separator - "%", // percent sign - "0", // native 0 digit - "#", // pattern digit - "-", // minus sign - "E", // exponential - "\u2030", // per mille - "\u221e", // infinity - "\ufffd" // NaN - } - }, - { "DateTimePatterns", - new String[] { - "HH'H'mm'm' z", // full time pattern - "H:mm:ss z", // long time pattern - "H:mm:ss", // medium time pattern - "H:mm", // short time pattern - "EEEE, d' de 'MMMM' de 'yyyy", // full date pattern - "d' de 'MMMM' de 'yyyy", // long date pattern - "d/MMM/yyyy", // medium date pattern - "dd-MM-yyyy", // short date pattern - "{1} {0}" // date-time pattern - } - }, - { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" }, - }; - } -} --- /dev/null Mon Aug 13 12:31:09 2012 +++ new/src/share/classes/sun/text/resources/pt/FormatData_pt.java Mon Aug 13 12:31:06 2012 @@ -0,0 +1,146 @@ +/* + * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code 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 General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* + * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved + * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved + * + * The original version of this source code and documentation + * is copyrighted and owned by Taligent, Inc., a wholly-owned + * subsidiary of IBM. These materials are provided under terms + * of a License Agreement between Taligent and Sun. This technology + * is protected by multiple US and International patents. + * + * This notice and attribution to Taligent may not be removed. + * Taligent is a registered trademark of Taligent, Inc. + * + */ + +package sun.text.resources.pt; + +import java.util.ListResourceBundle; + +public class FormatData_pt extends ListResourceBundle { + /** + * Overrides ListResourceBundle + */ + protected final Object[][] getContents() { + return new Object[][] { + { "MonthNames", + new String[] { + "Janeiro", // january + "Fevereiro", // february + "Mar\u00e7o", // march + "Abril", // april + "Maio", // may + "Junho", // june + "Julho", // july + "Agosto", // august + "Setembro", // september + "Outubro", // october + "Novembro", // november + "Dezembro", // december + "" // month 13 if applicable + } + }, + { "MonthAbbreviations", + new String[] { + "Jan", // abb january + "Fev", // abb february + "Mar", // abb march + "Abr", // abb april + "Mai", // abb may + "Jun", // abb june + "Jul", // abb july + "Ago", // abb august + "Set", // abb september + "Out", // abb october + "Nov", // abb november + "Dez", // abb december + "" // abb month 13 if applicable + } + }, + { "DayNames", + new String[] { + "Domingo", // Sunday + "Segunda-feira", // Monday + "Ter\u00e7a-feira", // Tuesday + "Quarta-feira", // Wednesday + "Quinta-feira", // Thursday + "Sexta-feira", // Friday + "S\u00e1bado" // Saturday + } + }, + { "DayAbbreviations", + new String[] { + "Dom", // abb Sunday + "Seg", // abb Monday + "Ter", // abb Tuesday + "Qua", // abb Wednesday + "Qui", // abb Thursday + "Sex", // abb Friday + "S\u00e1b" // abb Saturday + } + }, + { "NumberElements", + new String[] { + ",", // decimal al separator + ".", // group (thousands) separator + ";", // list separator + "%", // percent sign + "0", // native 0 digit + "#", // pattern digit + "-", // minus sign + "E", // exponential + "\u2030", // per mille + "\u221e", // infinity + "\ufffd" // NaN + } + }, + { "TimePatterns", + new String[] { + "HH'H'mm'm' z", // full time pattern + "H:mm:ss z", // long time pattern + "H:mm:ss", // medium time pattern + "H:mm", // short time pattern + } + }, + { "DatePatterns", + new String[] { + "EEEE, d' de 'MMMM' de 'yyyy", // full date pattern + "d' de 'MMMM' de 'yyyy", // long date pattern + "d/MMM/yyyy", // medium date pattern + "dd-MM-yyyy", // short date pattern + } + }, + { "DateTimePatterns", + new String[] { + "{1} {0}" // date-time pattern + } + }, + { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" }, + }; + } +}