goog.date.DateRange |
startDate
: goog.date.Date
The first date in the range.
|
endDate
: goog.date.Date
The last date in the range.
|
Tests if a date falls within this range.
Arguments:
Returns: boolean
Whether the date is in the range.
|
code » | ||
No description.
Returns: goog.date.Date
The last date in the range.
|
code » | ||
No description.
Returns: goog.date.Date
The first date in the range.
|
code » | ||
No description.
Returns: !goog.iter.Iterator
An iterator over the date range.
|
code » |
Returns the range that includes all days between January 1, 1900 and
December 31, 9999.
Arguments:
Returns: !goog.date.DateRange
The range that includes all days between
January 1, 1900 and December 31, 9999.
|
code » | |||
Clones or creates new.
Arguments:
Returns: !goog.date.Date
cloned or new.
|
code » | |||
Calculates the Monday before a date. If the input is a Monday, returns the
input. Does not modify its input.
Arguments:
Returns: !goog.date.Date
If |date| is a Monday, return |date|; otherwise
return the Monday before |date|.
|
code » | |||
Tests two
goog.date.DateRange objects for equality.
Arguments:
Returns: boolean
Whether |a| is the same range as |b|.
|
code » | |||
Returns the range that includes the seven days that end yesterday.
Arguments:
Returns: !goog.date.DateRange
The range that includes the seven days that
end yesterday.
|
code » | |||
Returns the range that starts seven days before the Monday on or before
today and ends the Friday before today.
Arguments:
Returns: !goog.date.DateRange
The range that starts seven days before the
Monday on or before today and ends the Friday before today.
|
code » | |||
Returns the range that starts the first of last month and ends the last day
of last month.
Arguments:
Returns: !goog.date.DateRange
The range that starts the first of last month
and ends the last day of last month.
|
code » | |||
Returns the seven-day range that ends the day before the first day of
the week (see
goog.i18n.DateTimeSymbols.FIRSTDAYOFWEEK ) that
contains today.
Arguments:
Returns: !goog.date.DateRange
The range that starts seven days before the
Monday on or before today and ends the Sunday on or before yesterday.
|
code » | |||
Calculates a date that is a number of days after a date. Does not modify its
input.
Arguments:
Returns: !goog.date.Date
The date that is |offset| days after |date|.
|
code » | |||
Calculates a date that is a number of months after the first day in the
month that contains its input. Does not modify its input.
Arguments:
Returns: !goog.date.Date
The date that is |offset| months after the first
day in the month that contains |date|.
|
code » | |||
No description.
Arguments:
Returns: !goog.date.DateRange
The date range that corresponds to that key.
|
code » | |||
Returns the range that starts the first of this month and ends the last day
of this month.
Arguments:
Returns: !goog.date.DateRange
The range that starts the first of this month
and ends the last day of this month.
|
code » | |||
Returns the seven-day range that starts on the first day of the week
(see
goog.i18n.DateTimeSymbols.FIRSTDAYOFWEEK ) on or before today.
Arguments:
Returns: !goog.date.DateRange
The range that starts the Monday on or before
today and ends the Sunday on or after today.
|
code » | |||
Returns the range from today to today.
Arguments:
Returns: !goog.date.DateRange
The range that includes only today.
|
code » | |||
Returns the range from yesterday to yesterday.
Arguments:
Returns: !goog.date.DateRange
The range that includes only yesterday.
|
code » |
The last possible day, as far as this class is concerned.
|
Code » | |
The first possible day, as far as this class is concerned.
|
Code » |
![]()
Standard date range keys. Equivalent to the enum IDs in
DateRange.java http://go/datarange.java
Constants:
|
Code » |