+
    ,i~                     :    R t ^ RIt^ RIt^ RIHt  ! R R4      tR# )zDuration module.N)_apic                     a  ] tR t^	t o RtRR.tR tR tR tR t	R t
R	 tR
 t]P                  ! ]]P                   4      t]P                  ! ]]P$                  4      t]P                  ! ]]P(                  4      t]P                  ! ]]P,                  4      t]P                  ! ]]P0                  4      t]P                  ! ]]P4                  4      tR tR tR t]tR t R t!R t"Rt#V t$R# )DurationzClass Duration in development.ETUTCc                b    \         P                  ! V P                  VR7       Wn        W n        R# )z
Create a new Duration object.

= ERROR CONDITIONS
- If the input frame is not in the allowed list, an error is thrown.

= INPUT VARIABLES
- frame     The frame of the duration.  Must be 'ET' or 'UTC'
- seconds  The number of seconds in the Duration.
)frameN)r   check_in_listallowed_frame_seconds)selfr   secondss   &&&G/usr/lib/python3/dist-packages/matplotlib/testing/jpl_units/Duration.py__init__Duration.__init__   s"     	4<<u5    c                    V P                   # )z$Return the frame the duration is in.)r   r   s   &r   r   Duration.frame   s    {{r   c                T    \        V P                  \        V P                  4      4      # )z*Return the absolute value of the duration.)r   r   absr   r   s   &r   __abs__Duration.__abs__!   s    S%788r   c                D    \        V P                  V P                  ) 4      # )z+Return the negative value of this Duration.)r   r   r   r   s   &r   __neg__Duration.__neg__%   s    dmm^44r   c                    V P                   # )z-Return the number of seconds in the Duration.r   r   s   &r   r   Duration.seconds)   s    }}r   c                     V P                   ^ 8g  # )    r   r   s   &r   __bool__Duration.__bool__-   s    }}!!r   c                `    V P                  VR4       V! V P                  VP                  4      # )zD
Check that *self* and *rhs* share frames; compare them using *op*.
compare)checkSameFramer   )r   oprhss   &&&r   _cmpDuration._cmp0   s)     	C+$--..r   c                    ^ RI Hu Hp \        WP                  4      '       d	   W,           # V P                  VR4       \        V P                  V P                  VP                  ,           4      # )z
Add two Durations.

= ERROR CONDITIONS
- If the input rhs is not in the same frame, an error is thrown.

= INPUT VARIABLES
- rhs     The Duration to add.

= RETURN VALUE
- Returns the sum of ourselves and the input Duration.
Nadd)	matplotlib.testing.jpl_unitstesting	jpl_units
isinstanceEpochr&   r   r   r   )r   r(   Us   && r   __add__Duration.__add__>   sO     	10c77##:C'T]]S\\%ABBr   c                    V P                  VR4       \        V P                  V P                  VP                  ,
          4      # )z
Subtract two Durations.

= ERROR CONDITIONS
- If the input rhs is not in the same frame, an error is thrown.

= INPUT VARIABLES
- rhs     The Duration to subtract.

= RETURN VALUE
- Returns the difference of ourselves and the input Duration.
sub)r&   r   r   r   r   r(   s   &&r   __sub__Duration.__sub__T   s2     	C'T]]S\\%ABBr   c                b    \        V P                  V P                  \        V4      ,          4      # )z
Scale a UnitDbl by a value.

= INPUT VARIABLES
- rhs     The scalar to multiply by.

= RETURN VALUE
- Returns the scaled Duration.
)r   r   r   floatr7   s   &&r   __mul__Duration.__mul__d   s"     T]]U3Z%?@@r   c                :    V P                   R RV P                   2# )Print the Duration.g )r   r   r   s   &r   __str__Duration.__str__r   s    --"!DKK=11r   c                >    RV P                    RV P                  R R2# )r?   z
Duration('z', r@   )r   r   r   s   &r   __repr__Duration.__repr__v   s"    DKK=DMM!+<A>>r   c                    V P                   VP                   8w  d)   \        RV RV P                    RVP                    24      hR# )a  
Check to see if frames are the same.

= ERROR CONDITIONS
- If the frame of the rhs Duration is not the same as our frame,
  an error is thrown.

= INPUT VARIABLES
- rhs     The Duration to check for the same frame
- func    The name of the function doing the check.
zCannot z' Durations with different frames.
LHS: z
RHS: N)r   
ValueError)r   r(   funcs   &&&r   r&   Duration.checkSameFramez   sN     ;;#**$$  } %

|%& & %r   rF   N)%__name__
__module____qualname____firstlineno____doc__r
   r   r   r   r   r   r"   r)   	functoolspartialmethodoperatoreq__eq__ne__ne__lt__lt__le__le__gt__gt__ge__ge__r3   r8   r<   __rmul__rB   rG   r&   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   s     (UmG 95"/ $$T8;;7F$$T8;;7F$$T8;;7F$$T8;;7F$$T8;;7F$$T8;;7FC,C 
A H2?& &r   r   )rQ   rR   rT   
matplotlibr   r    r   r   <module>rg      s       A& A&r   