# Class k.u.s.DateSearchOption(object):

Part of kiwi.ui.search View In Hierarchy

Known subclasses: kiwi.ui.search.Any, kiwi.ui.search.FixedDateSearchOption, kiwi.ui.search.FixedIntervalSearchOption, kiwi.ui.search.LastMonth, kiwi.ui.search.LastWeek, kiwi.ui.search.Today, kiwi.ui.search.Yesterday

Base class for Date search options A date search option is an interval of dates

Class Variables | name | name of the search option

Method | get_interval | Get start and end date.

def get_interval(self):
overridden in kiwi.ui.search.Any, kiwi.ui.search.FixedDateSearchOption, kiwi.ui.search.FixedIntervalSearchOption, kiwi.ui.search.LastMonth, kiwi.ui.search.LastWeek, kiwi.ui.search.Today, kiwi.ui.search.Yesterday
Get start and end date.

Returns | start date, end date (type: datetime.date tuple )