You are here

constant FACETAPI_DATE_HOUR in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 facetapi.module \FACETAPI_DATE_HOUR
  2. 6 facetapi.module \FACETAPI_DATE_HOUR
  3. 7 facetapi.module \FACETAPI_DATE_HOUR

String that represents a time gap of an hour between two dates.

4 uses of FACETAPI_DATE_HOUR
facetapi_format_timestamp in ./facetapi.date.inc
Returns a formatted date based on the passed timestamp and gap.
facetapi_get_next_date_increment in ./facetapi.date.inc
Returns the next increment from the given ISO date and gap. This function is useful for getting the upper limit of a date range from the given start date.
facetapi_get_timestamp_gap in ./facetapi.date.inc
Determines the best search gap to use for an arbitrary date range.
facetapi_isodate in ./facetapi.date.inc
Helper function to convert dates from Unix timestamps into ISO 8601 format.

File

./facetapi.module, line 36
An abstracted facet API that can be used by various search backends.

Code

define('FACETAPI_DATE_HOUR', 'HOUR');