Package | Description |
---|---|
com.google.gwt.cell.client |
Standard
Cell subclasses used by the
cellview widgets. |
com.google.gwt.dev.shell.log | |
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
com.google.gwt.i18n.shared |
This package contains i18n classes and interfaces shared between client and
server.
|
com.google.gwt.i18n.shared.impl | |
com.google.gwt.text.client |
Classes for parsing and rendering numbers, dates, and times.
|
com.google.gwt.user.client |
Fundamental user-interface classes used in client-side GWT code.
|
com.google.gwt.user.client.rpc.core.java.util | |
com.google.gwt.user.datepicker.client |
The date picker widget and associated types.
|
com.google.gwt.validation.client.constraints | |
java.sql | |
java.util |
Modifier and Type | Method and Description |
---|---|
boolean |
DatePickerCell.isEditing(Cell.Context context,
Element parent,
Date value) |
void |
DatePickerCell.onBrowserEvent(Cell.Context context,
Element parent,
Date value,
NativeEvent event,
ValueUpdater<Date> valueUpdater) |
protected void |
DatePickerCell.onEnterKeyDown(Cell.Context context,
Element parent,
Date value,
NativeEvent event,
ValueUpdater<Date> valueUpdater) |
void |
DateCell.render(Cell.Context context,
Date value,
SafeHtmlBuilder sb) |
void |
DatePickerCell.render(Cell.Context context,
Date value,
SafeHtmlBuilder sb) |
Modifier and Type | Method and Description |
---|---|
void |
DatePickerCell.onBrowserEvent(Cell.Context context,
Element parent,
Date value,
NativeEvent event,
ValueUpdater<Date> valueUpdater) |
protected void |
DatePickerCell.onEnterKeyDown(Cell.Context context,
Element parent,
Date value,
NativeEvent event,
ValueUpdater<Date> valueUpdater) |
Modifier and Type | Field and Description |
---|---|
Date |
SwingTreeLogger.LogEvent.timestamp
Timestamp of when the message was logged.
|
Modifier and Type | Method and Description |
---|---|
int |
TimeZone.getDaylightAdjustment(Date date) |
String |
TimeZone.getGMTString(Date date) |
String |
TimeZone.getISOTimeZoneString(Date date) |
String |
TimeZone.getLongName(Date date) |
int |
TimeZone.getOffset(Date date) |
String |
TimeZone.getRFCTimeZoneString(Date date) |
String |
TimeZone.getShortName(Date date) |
boolean |
TimeZone.isDaylightTime(Date date) |
Modifier and Type | Method and Description |
---|---|
Date |
DateTimeFormat.parse(String text)
Parses text to produce a
Date value. |
Date |
DateTimeFormat.parseStrict(String text)
Parses text to produce a
Date value. |
Modifier and Type | Method and Description |
---|---|
String |
DateTimeFormat.format(Date date)
Format a date object.
|
String |
DateTimeFormat.format(Date date,
TimeZone timeZone)
Format a date object using specified time zone.
|
int |
TimeZone.getDaylightAdjustment(Date date)
Returns the daylight savings time adjustment, in minutes, for the given
date.
|
String |
TimeZone.getGMTString(Date date)
Returns the GMT representation of this time zone object.
|
String |
TimeZone.getISOTimeZoneString(Date date)
To get ISO-style (+00:00) representation of the time zone for given date.
|
String |
TimeZone.getLongName(Date date)
Returns the long version of the time zone name for the given date; the
result of this method will be different if daylight savings time is in
effect.
|
int |
TimeZone.getOffset(Date date)
Returns the RFC representation of the time zone name for the given date.
|
String |
TimeZone.getRFCTimeZoneString(Date date)
To get RFC representation of certain time zone name for given date.
|
String |
TimeZone.getShortName(Date date)
Returns the short time zone name for a given date.
|
boolean |
TimeZone.isDaylightTime(Date date)
Check whether the given date and time falls within a daylight savings time
period.
|
int |
DateTimeFormat.parse(String text,
int start,
Date date)
This method modifies a
Date object to reflect the date that is
parsed from an input string. |
int |
DateTimeFormat.parseStrict(String text,
int start,
Date date)
This method modifies a
Date object to reflect the date that is
parsed from an input string. |
Modifier and Type | Class and Description |
---|---|
class |
DateRecord
Implementation detail of DateTimeFormat -- not a public API and subject to
change.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DateRecord.calcDate(Date date,
boolean strict)
calcDate uses all the field available so far to fill a Date object.
|
Modifier and Type | Method and Description |
---|---|
String |
DateTimeFormatRenderer.render(Date object) |
Modifier and Type | Method and Description |
---|---|
static void |
Cookies.setCookie(String name,
String value,
Date expires)
Sets a cookie.
|
static void |
Cookies.setCookie(String name,
String value,
Date expires,
String domain,
String path,
boolean secure)
Sets a cookie.
|
Modifier and Type | Method and Description |
---|---|
static Date |
Date_CustomFieldSerializer.instantiate(SerializationStreamReader streamReader) |
Date |
Date_CustomFieldSerializer.instantiateInstance(SerializationStreamReader streamReader) |
Modifier and Type | Method and Description |
---|---|
static void |
Date_CustomFieldSerializer.deserialize(SerializationStreamReader streamReader,
Date instance) |
void |
Date_CustomFieldSerializer.deserializeInstance(SerializationStreamReader streamReader,
Date instance) |
static void |
Date_CustomFieldSerializer.serialize(SerializationStreamWriter streamWriter,
Date instance) |
void |
Date_CustomFieldSerializer.serializeInstance(SerializationStreamWriter streamWriter,
Date instance) |
Modifier and Type | Method and Description |
---|---|
static Date |
CalendarUtil.copyDate(Date date)
Copies a date.
|
Date |
CalendarModel.getCurrentFirstDayOfFirstWeek()
Gets the first day of the first week in the currently specified month.
|
Date |
DatePicker.getCurrentMonth()
Gets the current month the date picker is showing.
|
Date |
CalendarModel.getCurrentMonth()
Gets the date representation of the currently specified month.
|
Date |
DatePicker.getFirstDate()
Returns the first shown date.
|
abstract Date |
CalendarView.getFirstDate()
Returns the first date that is currently shown by the calendar.
|
Date |
DefaultCalendarView.getFirstDate() |
Date |
DatePicker.getHighlightedDate()
Gets the highlighted date (the one the mouse is hovering over), if any.
|
Date |
DatePicker.getLastDate()
Returns the last shown date.
|
abstract Date |
CalendarView.getLastDate()
Returns the last date that is currently shown by the calendar.
|
Date |
DefaultCalendarView.getLastDate() |
Date |
DatePicker.getValue()
Returns the selected date, or null if none is selected.
|
Date |
DateBox.getValue()
Get the date displayed, or null if the text box is empty, or cannot be
interpreted.
|
Date |
DateBox.DefaultFormat.parse(DateBox dateBox,
String dateText,
boolean reportError) |
Date |
DateBox.Format.parse(DateBox dateBox,
String text,
boolean reportError)
Parses the provided string as a date.
|
Modifier and Type | Method and Description |
---|---|
LeafValueEditor<Date> |
DatePicker.asEditor()
Returns a
TakesValueEditor backed by the DatePicker. |
LeafValueEditor<Date> |
DateBox.asEditor()
Returns a
TakesValueEditor backed by the DateBox. |
Modifier and Type | Method and Description |
---|---|
static void |
CalendarUtil.addDaysToDate(Date date,
int days)
Adds the given number of days to a date.
|
static void |
CalendarUtil.addMonthsToDate(Date date,
int months)
Adds the given number of months to a date.
|
abstract void |
CalendarView.addStyleToDate(String styleName,
Date date)
Adds a style name to the cell of the supplied date.
|
void |
DefaultCalendarView.addStyleToDate(String styleName,
Date date) |
void |
DatePicker.addStyleToDates(String styleName,
Date date)
Add a style name to the given dates.
|
void |
DatePicker.addStyleToDates(String styleName,
Date date,
Date... moreDates)
Add a style name to the given dates.
|
void |
DatePicker.addStyleToDates(String styleName,
Date date,
Date... moreDates)
Add a style name to the given dates.
|
void |
DatePicker.addTransientStyleToDates(String styleName,
Date date)
Adds the given style name to the specified dates, which must be visible.
|
void |
DatePicker.addTransientStyleToDates(String styleName,
Date date,
Date... moreDates)
Adds the given style name to the specified dates, which must be visible.
|
void |
DatePicker.addTransientStyleToDates(String styleName,
Date date,
Date... moreDates)
Adds the given style name to the specified dates, which must be visible.
|
static Date |
CalendarUtil.copyDate(Date date)
Copies a date.
|
String |
DateBox.DefaultFormat.format(DateBox box,
Date date) |
String |
DateBox.Format.format(DateBox dateBox,
Date date)
Formats the provided date.
|
String |
CalendarModel.formatDayOfMonth(Date date)
Formats a date's day of month.
|
static int |
CalendarUtil.getDaysBetween(Date start,
Date finish)
Returns the number of days between the two dates.
|
String |
DatePicker.getStyleOfDate(Date date)
Gets the style associated with a date (does not include styles set via
DatePicker.addTransientStyleToDates(java.lang.String, java.util.Date) ). |
boolean |
DatePicker.isDateEnabled(Date date)
Is the visible date enabled?
|
abstract boolean |
CalendarView.isDateEnabled(Date date)
Is the cell representing the given date enabled?
|
boolean |
DefaultCalendarView.isDateEnabled(Date d) |
boolean |
DatePicker.isDateVisible(Date date)
Is the date currently shown in the date picker?
|
boolean |
CalendarModel.isInCurrentMonth(Date date)
Is a date in the currently specified month?
|
static boolean |
CalendarUtil.isSameDate(Date date0,
Date date1)
Check if two dates represent the same date of the same year, even if they
have different times.
|
abstract void |
CalendarView.removeStyleFromDate(String styleName,
Date date)
Removes a visible style name from the cell of the supplied date.
|
void |
DefaultCalendarView.removeStyleFromDate(String styleName,
Date date) |
void |
DatePicker.removeStyleFromDates(String styleName,
Date date)
Removes the styleName from the given dates (even if it is transient).
|
void |
DatePicker.removeStyleFromDates(String styleName,
Date date,
Date... moreDates)
Removes the styleName from the given dates (even if it is transient).
|
void |
DatePicker.removeStyleFromDates(String styleName,
Date date,
Date... moreDates)
Removes the styleName from the given dates (even if it is transient).
|
static void |
CalendarUtil.resetTime(Date date)
Resets the date to have no time modifiers.
|
void |
CalendarView.setAriaSelectedCell(Date date)
Sets aria-selected in the given date's cell and clears the other cells.
|
void |
DefaultCalendarView.setAriaSelectedCell(Date date) |
void |
DatePicker.setCurrentMonth(Date month)
Sets the date picker to show the given month, use
DatePicker.getFirstDate()
and DatePicker.getLastDate() to access the exact date range the date picker
chose to display. |
void |
CalendarModel.setCurrentMonth(Date currentDate)
Sets the currently specified date.
|
abstract void |
CalendarView.setEnabledOnDate(boolean enabled,
Date date)
Enables or Disables a particular date.
|
void |
DefaultCalendarView.setEnabledOnDate(boolean enabled,
Date date) |
protected void |
CalendarView.setHighlightedDate(Date date)
Allows the calendar view to update the date picker's highlighted date.
|
static void |
CalendarUtil.setToFirstDayOfMonth(Date date)
Sets a date object to be at the beginning of the month and no time
specified.
|
void |
DatePicker.setTransientEnabledOnDates(boolean enabled,
Date date)
Sets a visible date to be enabled or disabled.
|
void |
DatePicker.setTransientEnabledOnDates(boolean enabled,
Date date,
Date... moreDates)
Sets a visible date to be enabled or disabled.
|
void |
DatePicker.setTransientEnabledOnDates(boolean enabled,
Date date,
Date... moreDates)
Sets a visible date to be enabled or disabled.
|
void |
DatePicker.setValue(Date newValue)
Sets the
DatePicker 's value. |
void |
DateBox.setValue(Date date)
Set the date.
|
void |
DatePicker.setValue(Date newValue,
boolean fireEvents)
Sets the
DatePicker 's value. |
void |
DateBox.setValue(Date date,
boolean fireEvents) |
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
DatePicker.addHighlightHandler(HighlightHandler<Date> handler) |
HandlerRegistration |
DatePicker.addShowRangeHandler(ShowRangeHandler<Date> handler) |
HandlerRegistration |
DatePicker.addShowRangeHandlerAndFire(ShowRangeHandler<Date> handler)
Adds a show range handler and immediately activate the handler on the
current view.
|
void |
DatePicker.addStyleToDates(String styleName,
Iterable<Date> dates)
Add a style name to the given dates.
|
void |
DatePicker.addTransientStyleToDates(String styleName,
Iterable<Date> dates)
Adds the given style name to the specified dates, which must be visible.
|
HandlerRegistration |
DatePicker.addValueChangeHandler(ValueChangeHandler<Date> handler) |
HandlerRegistration |
DateBox.addValueChangeHandler(ValueChangeHandler<Date> handler) |
void |
DatePicker.removeStyleFromDates(String styleName,
Iterable<Date> dates)
Removes the styleName from the given dates (even if it is transient).
|
void |
DatePicker.setTransientEnabledOnDates(boolean enabled,
Iterable<Date> dates)
Sets a group of visible dates to be enabled or disabled.
|
Constructor and Description |
---|
DateBox(DatePicker picker,
Date date,
DateBox.Format format)
Create a new date box.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PastValidatorForDate.isValid(Date value,
javax.validation.ConstraintValidatorContext context) |
boolean |
FutureValidatorForDate.isValid(Date value,
javax.validation.ConstraintValidatorContext context) |
Modifier and Type | Class and Description |
---|---|
class |
Date
An implementation of java.sql.Date.
|
class |
Time
An implementation of java.sql.Time.
|
class |
Timestamp
An implementation of java.sql.Timestame.
|
Modifier and Type | Method and Description |
---|---|
int |
Timestamp.compareTo(Date o) |
Modifier and Type | Method and Description |
---|---|
boolean |
Date.after(Date when) |
boolean |
Date.before(Date when) |
int |
Date.compareTo(Date other) |
Copyright © 2018. All rights reserved.