Module Expr Str ImportFrom alias ImportFrom alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd AttributeLoad NameLoad attr CompareLtE AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return BinOpMod Call NameLoad Str Str NameLoad orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr Return BinOpMod Call NameLoad Str Str NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Return BinOpMod Call NameLoad Str Str NameLoad orelse Return BinOpMod Call NameLoad Str Str NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return BinOpMod Call NameLoad Str Str NameLoad Return AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad Str Call NameLoad Str kwarg body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Num Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Call NameLoad Str kwarg body Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Defines classes related to date ranges.

.. autosummary::

 __future__ unicode_literals builtins object N/A datetime N/A logging N/A logger N/A N/A logging getLogger __name__ django.db models django.conf settings django.utils.translation ugettext_lazy _ django.utils.translation pgettext_lazy pgettext django.core.exceptions ValidationError lino.api dd lino.core.model Model lino.core.choicelists Choice lino.utils.format_date fdl lino.utils.ranges isrange lino.utils.format_date fds lino.core.utils ParameterPanel rangefmt N/A N/A r N/A N/A N/A N/A N/A N/A fds N/A r N/A 0 ... N/A fds N/A r N/A 1 N/A ObservedEvent N/A Choice N/A N/A Base class for choices of "observed event"-style choicelists. __init__ N/A N/A self value N/A kwargs N/A N/A N/A N/A N/A super ObservedEvent self __init__ value name value kwargs N/A add_filter N/A N/A self qs pv N/A N/A N/A qs N/A N/A DatePeriod N/A Model N/A N/A A model mixin for models which represent a period whose start and
    end are date fields.

    Designed for usage with
    :class:`lino.modlib.system.mixins.PeriodEvents`.

     Meta N/A object N/A N/A abstract True N/A N/A empty_period_text N/A start_date N/A N/A models DateField N/A _ Start date blank True null True N/A end_date N/A N/A models DateField N/A _ End date blank True null True full_clean N/A N/A self N/A args kw N/A N/A N/A N/A isrange N/A self start_date N/A self end_date N/A N/A N/A ValidationError N/A _ Date period ends before it started. N/A N/A N/A N/A super DatePeriod self full_clean args kw N/A get_period N/A N/A self N/A N/A N/A N/A N/A self start_date N/A self end_date N/A is_past N/A N/A self N/A N/A N/A N/A N/A self end_date N/A N/A self end_date N/A N/A dd today N/A is_future N/A N/A self N/A N/A N/A N/A N/A self start_date N/A N/A self start_date N/A N/A N/A settings SITE today N/A get_period_text N/A N/A self N/A N/A N/A N/A N/A self start_date N/A self end_date N/A N/A N/A N/A self start_date N/A self end_date N/A N/A s N/A fdl N/A self start_date N/A N/A N/A pgettext date on %s s N/A N/A kw N/A dict N/A N/A N/A kw update a N/A fdl N/A self start_date N/A N/A N/A kw update b N/A fdl N/A self end_date N/A N/A N/A pgettext date range between %(a)s and %(b)s kw N/A N/A N/A self start_date N/A N/A s N/A fdl N/A self start_date N/A N/A N/A self is_future N/A N/A N/A N/A pgettext future date range from %s s N/A N/A N/A N/A pgettext date range from %s s N/A N/A N/A self end_date N/A N/A s N/A fdl N/A self end_date N/A N/A N/A pgettext date range until %s s N/A N/A self empty_period_text N/A N/A get_default_start_date None N/A get_default_end_date None get_parameter_fields N/A N/A cls N/A fields N/A N/A N/A N/A fields update start_date N/A N/A models DateField N/A _ Period from blank True null True default N/A cls get_default_start_date help_text N/A _ Start date of observed period N/A N/A N/A fields update end_date N/A N/A models DateField N/A _ until blank True null True default N/A cls get_default_end_date help_text N/A _ End date of observed period N/A N/A N/A N/A super DatePeriod cls get_parameter_fields fields N/A classmethod N/A ObservedPeriod N/A ParameterPanel N/A N/A :class:`lino.core.param_panel.ParameterPanel` with two fields
    `start_date` and `end_date` which default to empty.

     N/A get_default_start_date None N/A get_default_end_date None __init__ N/A N/A self verbose_name_start verbose_name_end N/A N/A _ Period from N/A _ until kw N/A N/A N/A N/A kw update start_date N/A N/A models DateField verbose_name_start blank True null True default N/A self get_default_start_date help_text N/A _ Start date of observed period end_date N/A N/A models DateField verbose_name_end blank True null True default N/A self get_default_end_date help_text N/A _ End date of observed period N/A N/A N/A N/A super ObservedPeriod self __init__ kw N/A N/A Yearly N/A ObservedPeriod N/A N/A An :class:`ObservedPeriod` for which `start_date` defaults to Jan
    1st and `end_date` to Dec 31 of the current year.

     get_default_start_date N/A N/A self N/A N/A N/A D N/A datetime date N/A N/A D N/A N/A N/A D today year 1 1 N/A get_default_end_date N/A N/A self N/A N/A N/A D N/A datetime date N/A N/A D N/A N/A N/A D today year 12 31 N/A N/A Today N/A ParameterPanel N/A N/A :class:`lino.core.param_panel.ParameterPanel` with a field `today`
which defaults to today. __init__ N/A N/A self verbose_name N/A N/A _ Situation on kw N/A N/A N/A N/A kw update today N/A N/A models DateField verbose_name blank True null True default N/A N/A settings SITE today help_text N/A _ Date of observation N/A N/A N/A N/A super Today self __init__ kw N/A N/A