module timelinelib.calendar.gregorian.timetype.strips.stripday

class timelinelib.calendar.gregorian.timetype.strips.stripday.StripDay[source]

Bases: timelinelib.canvas.drawing.interface.Strip

label(time, major=False)[source]

Return the label for this strip at the given time when used as major or minor strip.

start(time)[source]

Return the start time for this strip and the given time.

For example, if the time is 2008-08-31 and the strip is month, the start would be 2008-08-01.

increment(time)[source]

Increment the given time so that it points to the start of the next strip.

is_day()[source]