You are here

constant FACETAPI_DATE_YEAR in Facet API 7.2

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

String that represents a time gap of a year between two dates.

2 uses of FACETAPI_DATE_YEAR
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 21
An abstracted facet API that can be used by various search backends.

Code

define('FACETAPI_DATE_YEAR', 'YEAR');