Timespan
========

.. currentmodule:: lsst.daf.butler

.. autoclass:: Timespan
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Timespan.EMPTY
      ~Timespan.begin
      ~Timespan.end
      ~Timespan.yaml_tag

   .. rubric:: Methods Summary

   .. autosummary::

      ~Timespan.contains
      ~Timespan.difference
      ~Timespan.fromInstant
      ~Timespan.from_json
      ~Timespan.from_simple
      ~Timespan.from_yaml
      ~Timespan.intersection
      ~Timespan.isEmpty
      ~Timespan.makeEmpty
      ~Timespan.overlaps
      ~Timespan.to_json
      ~Timespan.to_simple
      ~Timespan.to_yaml

   .. rubric:: Attributes Documentation

   .. autoattribute:: EMPTY
   .. autoattribute:: begin
   .. autoattribute:: end
   .. autoattribute:: yaml_tag

   .. rubric:: Methods Documentation

   .. automethod:: contains
   .. automethod:: difference
   .. automethod:: fromInstant
   .. automethod:: from_json
   .. automethod:: from_simple
   .. automethod:: from_yaml
   .. automethod:: intersection
   .. automethod:: isEmpty
   .. automethod:: makeEmpty
   .. automethod:: overlaps
   .. automethod:: to_json
   .. automethod:: to_simple
   .. automethod:: to_yaml