class documentation

Mixin for views manipulating day-based data.

Method get_day Return the day for which this view should display data.
Method get_day_format Get a day format string in strptime syntax to be used to parse the day from url variables.
Method get_next_day Get the next valid day.
Method get_previous_day Get the previous valid day.
Class Variable day Undocumented
Class Variable day_format Undocumented
Method _get_current_day Return the start date of the current interval.
Method _get_next_day Return the start date of the next interval.
def get_day(self): (source)

Return the day for which this view should display data.

def get_day_format(self): (source)

Get a day format string in strptime syntax to be used to parse the day from url variables.

def get_next_day(self, date): (source)

Get the next valid day.

def get_previous_day(self, date): (source)

Get the previous valid day.

Undocumented

day_format: str = (source)

Undocumented

def _get_current_day(self, date): (source)

Return the start date of the current interval.

def _get_next_day(self, date): (source)

Return the start date of the next interval. The interval is defined by start date <= item date < next start date.