home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / main.bin / DateFormatZoneData_fr_CA.java < prev    next >
Text File  |  1997-05-20  |  4KB  |  89 lines

  1.  /*
  2.  * @(#)DateFormatZoneData_fr_CA.java    1.3 97/02/24
  3.  *
  4.  * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved
  5.  * (C) Copyright IBM Corp. 1996 - All Rights Reserved
  6.  *
  7.  * Portions copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved.
  8.  *
  9.  *   The original version of this source code and documentation is copyrighted
  10.  * and owned by Taligent, Inc., a wholly-owned subsidiary of IBM. These
  11.  * materials are provided under terms of a License Agreement between Taligent
  12.  * and Sun. This technology is protected by multiple US and International
  13.  * patents. This notice and attribution to Taligent may not be removed.
  14.  *   Taligent is a registered trademark of Taligent, Inc.
  15.  *
  16.  * Permission to use, copy, modify, and distribute this software
  17.  * and its documentation for NON-COMMERCIAL purposes and without
  18.  * fee is hereby granted provided that this copyright notice
  19.  * appears in all copies. Please refer to the file "copyright.html"
  20.  * for further important copyright and licensing information.
  21.  *
  22.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
  23.  * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
  24.  * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  25.  * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
  26.  * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
  27.  * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
  28.  *
  29.  */
  30.  
  31. package java.text.resources;
  32.  
  33. import java.util.ListResourceBundle;
  34.  
  35. /**
  36.  * Supplement package private date-time formatting zone data for DateFormat.
  37.  * DateFormatData used in DateFormat will be initialized by loading the data
  38.  * from LocaleElements and DateFormatZoneData resources. The zone data are
  39.  * represented with the following form:
  40.  * {ID, long zone string, short zone string, long daylight string,
  41.  * short daylight string, representative city of zone}, where ID is
  42.  * NOT localized, but is used to look up the localized timezone data
  43.  * internally. Localizers can localize any zone strings except
  44.  * for the ID of the timezone.
  45.  
  46.  * @see          ListResourceBundle
  47.  * @see          Format
  48.  * @see          DateFormatData
  49.  * @see          LocaleElements
  50.  * @see          SimpleDateFormat
  51.  * @see          TimeZone
  52.  * @version      1.3 02/24/97
  53.  * @author       Chen-Lieh Huang
  54.  */
  55. //  French-Canada DateFormatZoneData
  56. //
  57. public final class DateFormatZoneData_fr_CA extends ListResourceBundle
  58. {
  59.     /**
  60.      * Overrides ListResourceBundle
  61.      */
  62.     public Object[][] getContents() {
  63.         return contents;
  64.     }
  65.  
  66.     private static final String kZoneStrings[][] = {
  67.         {"PST", "Pacific Standard Time", "PST",
  68.         "Pacific Daylight Time", "PDT", "Vancouver"},
  69.         {"MST", "Mountain Standard Time", "MST",
  70.         "Mountain Daylight Time", "MDT", "Calgary"},
  71.         {"CST", "Central Standard Time", "CST",
  72.         "Central Daylight Time", "CDT", "Winnipeg"},
  73.         {"EST", "Eastern Standard Time", "EST",
  74.         "Eastern Daylight Time", "EDT", "Toronto"},
  75.         // PRT is the ID for Puerto Rico and US Virgin Islands Time timezone.
  76.         {"PRT", "Atlantic Standard Time", "AST",
  77.         "Atlantic Daylight Time", "ADT", "Halifax"},
  78.         {"CNT", "Newfoundland Standard Time", "NST",
  79.         "Newfoundland Daylight Time", "NDT", "St. John's"}
  80.     };
  81.  
  82.     private static final String kLocalPatternChars = "GanjkHmsSEDFwWxhKz";
  83.  
  84.     static final Object[][] contents = {
  85.         {"zoneStrings",         kZoneStrings},
  86.         {"localPatternChars",   kLocalPatternChars},
  87.     };
  88. }
  89.