com.bradrydzewski.gwt.calendar.client.i18n
Interface CalendarConstants

All Superinterfaces:
com.google.gwt.i18n.shared.Localizable, com.google.gwt.i18n.client.LocalizableResource, com.google.gwt.i18n.client.Messages

public interface CalendarConstants
extends com.google.gwt.i18n.client.Messages

Defines the Strings that can be localized in gwt-cal.

Author:
Brad Rydzewski, Carlos D. Morales

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.Messages
com.google.gwt.i18n.client.Messages.AlternateMessage, com.google.gwt.i18n.client.Messages.DefaultMessage, com.google.gwt.i18n.client.Messages.Example, com.google.gwt.i18n.client.Messages.Offset, com.google.gwt.i18n.client.Messages.Optional, com.google.gwt.i18n.client.Messages.PluralCount, com.google.gwt.i18n.client.Messages.PluralText, com.google.gwt.i18n.client.Messages.Select
 
Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.LocalizableResource
com.google.gwt.i18n.client.LocalizableResource.DefaultLocale, com.google.gwt.i18n.client.LocalizableResource.Description, com.google.gwt.i18n.client.LocalizableResource.Generate, com.google.gwt.i18n.client.LocalizableResource.GeneratedFrom, com.google.gwt.i18n.client.LocalizableResource.GenerateKeys, com.google.gwt.i18n.client.LocalizableResource.Key, com.google.gwt.i18n.client.LocalizableResource.Meaning
 
Method Summary
 String am()
          String representing AM.
 String dateFormat()
          Each column in the DayView represents a date in time, and displays the date in its header (i.e.
 String dayOfMonthFormat()
          Returns the pattern to format the days in a month.
 String firstDayOfWeek()
          Returns what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
 String more(int appointments)
          Footer for days in the MonthView in which there are more appointments to display than fit in the day cell.
 String noon()
          The localized text label for 12 p.m.
 String pm()
          String representing AM.
 String timeFormat()
          String used to format time in the DayView components timeline.
 String weekdayFormat()
          Each column in the MonthView represents a day of the week, and displays the day of the week in its header (i.e.
 

Method Detail

more

String more(int appointments)
Footer for days in the MonthView in which there are more appointments to display than fit in the day cell.

Parameters:
appointments - The number of additional appointments in the day
Returns:
The localized string

noon

String noon()
The localized text label for 12 p.m.

Returns:
The label for the noon

am

String am()
String representing AM. For certain locales this will be null.

Returns:
AM string

pm

String pm()
String representing AM. For certain locales this will be null.

Returns:
PM string

timeFormat

String timeFormat()
String used to format time in the DayView components timeline. Example: time is formatted in the US as h AM, and is formatted in French HH:00.

Returns:
The localized time format for the DayView

dateFormat

String dateFormat()
Each column in the DayView represents a date in time, and displays the date in its header (i.e. Wed, Jan 15). This property provides the pattern to format the date.

Returns:
The localized time format for the DayView

weekdayFormat

String weekdayFormat()
Each column in the MonthView represents a day of the week, and displays the day of the week in its header (i.e. Mon, Tue, Wed). This property provides the pattern to format the day of the week.

Returns:
The pattern to format the names of the days in the month view

dayOfMonthFormat

String dayOfMonthFormat()
Returns the pattern to format the days in a month.

Returns:
The pattern to format the names/numbers of days in a month

firstDayOfWeek

String firstDayOfWeek()
Returns what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.

Returns:
The text representing the first day of the week, zero-based (Sunday is 0, Monday is 1, Tuesday is 2, etc.)


Copyright © 2012. All Rights Reserved.