woob.capabilities.date

class DateField(doc, **kwargs)[source]

Bases: Field

A field which accepts only datetime.date and datetime.datetime types.

class TimeField(doc, **kwargs)[source]

Bases: Field

A field which accepts only datetime.time and datetime.time types.

class DeltaField(doc, **kwargs)[source]

Bases: Field

A field which accepts only datetime.timedelta type.

convert(value)[source]

Convert value to the wanted one.