Another common question: How do I add Date Range Values that are not included in the available list.
By default, we ship with the following Date Range Values:

DATE_RANGE_LASTHOUR,
DATE_RANGE_THISHOUR,
DATE_RANGE_NEXTHOUR,
DATE_RANGE_YESTERDAY,
DATE_RANGE_TODAY,
DATE_RANGE_TOMORROW,
DATE_RANGE_LASTWEEK,
DATE_RANGE_THISWEEK,
DATE_RANGE_NEXTWEEK,
DATE_RANGE_LASTMONTH,
DATE_RANGE_THISMONTH,
DATE_RANGE_NEXTMONTH, 
DATE_RANGE_LASTQUARTER,
DATE_RANGE_THISQUARTER, 
DATE_RANGE_NEXTQUARTER,
DATE_RANGE_LASTYEAR,
DATE_RANGE_THISYEAR,
DATE_RANGE_NEXTYEAR,
DATE_RANGE_CUSTOM


But often, our clients need values that are not in this list. Rather than pre packaging all possible values in this list, attached is a project that defines how to introduce your own values in here. The process is simple - extend and override. This is a common theme in all Flexicious customization. This helps you in terms of receiveing updates to the library as well, because we are very careful about not introducing behavior modifying changes in existing codebase, nor do we remove API's that are documented.

Hope the attached project helps you in scenarios where you need to implement custom date ranges!

 

CustomDateRange.zip (15.03 kb)