
    11i]                     t    S r SSKJr  SSKJr  SSKJr  SSKJrJrJ	r	J
r
  SSKJr  S r\S-   \-   \	-   4S	 jrg
)z
This module defines a method to parse an ISO 8601:2004 date time string.

For this job it uses the parse_date and parse_time methods defined in date
and time module.
    )datetime)
parse_date)ISO8601Error)DATE_EXT_COMPLETETIME_EXT_COMPLETETZ_EXTstrftime)
parse_timec                      U R                  S5      u  p[        U5      n[	        U5      n[
        R                  " X45      $ ! [         a    [        SU -  5      ef = f)z
Parses ISO 8601 date-times into datetime.datetime objects.

This function uses parse_date and parse_time to do the job, so it allows
more combinations of date and time representations, than the actual
ISO 8601:2004 standard allows.
TzHISO 8601 time designator 'T' missing. Unable to parse datetime string %r)split
ValueErrorr   r   r
   r   combine)datetimestring
datestring
timestringtmpdatetmptimes        M/home/james-whalen/.local/lib/python3.13/site-packages/isodate/isodatetime.pyparse_datetimer      sl    
!/!5!5c!:
 $G$GG--  
(*89
 	

s   A Ar   c                     [        X5      $ )z
Format datetime strings.

This method is just a wrapper around isodate.isostrf.strftime and uses
Extended-Complete as default format.
)r	   )tdtformats     r   datetime_isoformatr   $   s     C      N)__doc__r   isodate.isodatesr   isodate.isoerrorr   isodate.isostrfr   r   r   r	   isodate.isotimer
   r   r    r   r   <module>r"      s=     ' ) R R &.* "C'*;;fD	!r   