Home | History | Annotate | Download | only in calendar
      1 /*
      2  * Copyright (C) 2006 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.android.calendar;
     18 
     19 public final class CalendarData {
     20     static final String[] sDateStrings = { "0", "1", "2", "3", "4", "5", "6",
     21         "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17",
     22         "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28",
     23         "29", "30", "31" };
     24 
     25     static final String[] sMonthNumStrings = { "1", "2", "3", "4", "5", "6",
     26         "7", "8", "9", "10", "11", "12" };
     27 
     28     static final String[] s12Hours = { "12 AM", "1 AM", "2 AM", "3 AM", "4 AM",
     29         "5 AM", "6 AM", "7 AM", "8 AM", "9 AM", "10 AM", "11 AM", "Noon",
     30         "1 PM", "2 PM", "3 PM", "4 PM", "5 PM", "6 PM", "7 PM", "8 PM",
     31         "9 PM", "10 PM", "11 PM", "12 AM" };
     32 
     33     static final String[] s12AmPm = { "AM", "AM", "AM", "AM", "AM",
     34         "AM", "AM", "AM", "AM", "AM", "AM", "AM", "PM",
     35         "PM", "PM", "PM", "PM", "PM", "PM", "PM", "PM",
     36         "PM", "PM", "PM", "AM" };
     37 
     38     static final String[] s12HoursNoAmPm = { "12", "1", "2", "3", "4",
     39         "5", "6", "7", "8", "9", "10", "11", "12",
     40         "1", "2", "3", "4", "5", "6", "7", "8",
     41         "9", "10", "11", "12" };
     42 
     43     static final String[] s24Hours = { "00", "01", "02", "03", "04", "05",
     44         "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16",
     45         "17", "18", "19", "20", "21", "22", "23", "00" };
     46 
     47     static final String[] sMinutes = {
     48         ":00", ":01", ":02", ":03", ":04", ":05", ":06", ":07", ":08", ":09",
     49         ":10", ":11", ":12", ":13", ":14", ":15", ":16", ":17", ":18", ":19",
     50         ":20", ":21", ":22", ":23", ":24", ":25", ":26", ":27", ":28", ":29",
     51         ":30", ":31", ":32", ":33", ":34", ":35", ":36", ":37", ":38", ":39",
     52         ":40", ":41", ":42", ":43", ":44", ":45", ":46", ":47", ":48", ":49",
     53         ":50", ":51", ":52", ":53", ":54", ":55", ":56", ":57", ":58", ":59"
     54     };
     55 }
     56