QRY_Condition.UnitOfTime
Class
apex
global enum QRY_Condition.UnitOfTimeUnits of time for SOQL date literals.
Inner Classes
| Class | Description |
|---|---|
| DAY | Day unit (LAST_N_DAYS, NEXT_N_DAYS, etc.) |
| FISCAL_QUARTER | Fiscal quarter unit (LAST_N_FISCAL_QUARTERS, etc.) |
| FISCAL_YEAR | Fiscal year unit (LAST_N_FISCAL_YEARS, etc.) |
| MONTH | Month unit (THIS_MONTH, LAST_MONTH - not supported with N) |
| QUARTER | Quarter unit (LAST_N_QUARTERS, etc.) |
| WEEK | Week unit (THIS_WEEK, LAST_WEEK - not supported with N) |
| YEAR | Year unit (LAST_N_YEARS, etc.) |
Value Details
DAY
apex
global DAYDay unit (LAST_N_DAYS, NEXT_N_DAYS, etc.)
FISCAL_QUARTER
apex
global FISCAL_QUARTERFiscal quarter unit (LAST_N_FISCAL_QUARTERS, etc.)
FISCAL_YEAR
apex
global FISCAL_YEARFiscal year unit (LAST_N_FISCAL_YEARS, etc.)
MONTH
apex
global MONTHMonth unit (THIS_MONTH, LAST_MONTH - not supported with N)
QUARTER
apex
global QUARTERQuarter unit (LAST_N_QUARTERS, etc.)
WEEK
apex
global WEEKWeek unit (THIS_WEEK, LAST_WEEK - not supported with N)
YEAR
apex
global YEARYear unit (LAST_N_YEARS, etc.)