
    (ph/                     ~    S SK Jr   " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      rg)    )	Interfacec                       \ rS rSrSrg)DateTimeError    N__name__
__module____qualname____firstlineno____static_attributes__r       F/var/www/html/venv/lib/python3.13/site-packages/DateTime/interfaces.pyr   r          r   r   c                       \ rS rSrSrg)SyntaxError   r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrg)	DateError   r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrg)	TimeError   r   Nr   r   r   r   r   r      r   r   r   c                      \ rS rSrSPS jrS rS rS rS rS r	S	 r
S
 rS rS rS rS rS rS r\rS r\rS r\rS r\rS r\rS r\rS rS rS rS r S r!S r"S r#S r$S r%S r&S  r'S! r(S" r)S# r*S$ r+S% r,S& r-S' r.S( r/S) r0S* r1S+ r2S, r3S- r4S. r5S/ r6S0 r7S1 r8S2 r9S3 r:S4 r;S5 r<S6 r=S7 r>S8 r?S9 r@S: rAS; rBS< rCS= rDS> rES? rFS@ rGSA rHSB rISC rJSD rKSE rLSF rMSG rN\NrOSH rPSI rQSJ rRSK rSSL rTSM rUSN rVSOrWg)Q	IDateTime    Nc                     g)zaReturns the time zone on the given date.  The time zone
can change according to daylight savings.Nr   )ltms    r   	localZoneIDateTime.localZone$       r   c                      g)zReturn the date/time as a floating-point number in UTC, in
the format used by the python time module.  Note that it is
possible to create date/time values with DateTime that have no
meaningful value to the time module.Nr   r   r   r   timeTimeIDateTime.timeTime(   r!   r   c                     g)z^Return a DateTime with the value as the current object,
represented in the indicated timezone.Nr   )zs    r   toZoneIDateTime.toZone.   r!   r   c                      g)zQReturn true if this object represents a date/time later
than the time of the callNr   r   r   r   isFutureIDateTime.isFuture2   r!   r   c                      g)zSReturn true if this object represents a date/time earlier
than the time of the callNr   r   r   r   isPastIDateTime.isPast6   r!   r   c                      g)zReturn true if this object represents a date/time that
falls within the current year, in the context of this
object's timezone representationNr   r   r   r   isCurrentYearIDateTime.isCurrentYear:   r!   r   c                      g)zReturn true if this object represents a date/time that
falls within the current month, in the context of this
object's timezone representationNr   r   r   r   isCurrentMonthIDateTime.isCurrentMonth?   r!   r   c                      g)zReturn true if this object represents a date/time that
falls within the current day, in the context of this object's
timezone representationNr   r   r   r   isCurrentDayIDateTime.isCurrentDayD   r!   r   c                      g)zReturn true if this object represents a date/time that
falls within the current hour, in the context of this object's
timezone representationNr   r   r   r   isCurrentHourIDateTime.isCurrentHourI   r!   r   c                      g)zReturn true if this object represents a date/time that
falls within the current minute, in the context of this
object's timezone representationNr   r   r   r   isCurrentMinuteIDateTime.isCurrentMinuteN   r!   r   c                      g)zXReturn true if the current year (in the context of the
object's timezone) is a leap yearNr   r   r   r   
isLeapYearIDateTime.isLeapYearS   r!   r   c                      g)zReturn a new DateTime object that represents the earliest
possible time (in whole seconds) that still falls within the
current object's day, in the object's timezone contextNr   r   r   r   earliestTimeIDateTime.earliestTimeW   r!   r   c                      g)zReturn a new DateTime object that represents the latest
possible time (in whole seconds) that still falls within the
current object's day, in the object's timezone contextNr   r   r   r   
latestTimeIDateTime.latestTime\   r!   r   c                     g)aT  Compare this DateTime object to another DateTime object OR
a floating point number such as that which is returned by the
python time module. Returns true if the object represents a
date/time greater than the specified DateTime or time module
style time.  Revised to give more correct results through
comparison of long integer milliseconds.Nr   ts    r   greaterThanIDateTime.greaterThana   r!   r   c                     g)a`  Compare this DateTime object to another DateTime object OR
a floating point number such as that which is returned by the
python time module. Returns true if the object represents a
date/time greater than or equal to the specified DateTime or
time module style time.  Revised to give more correct results
through comparison of long integer milliseconds.Nr   rH   s    r   greaterThanEqualToIDateTime.greaterThanEqualTok   r!   r   c                     g)aP  Compare this DateTime object to another DateTime object OR
a floating point number such as that which is returned by the
python time module. Returns true if the object represents a
date/time equal to the specified DateTime or time module style
time.  Revised to give more correct results through comparison
of long integer milliseconds.Nr   rH   s    r   equalToIDateTime.equalTou   r!   r   c                     g)aT  Compare this DateTime object to another DateTime object OR
a floating point number such as that which is returned by the
python time module. Returns true if the object represents a
date/time not equal to the specified DateTime or time module
style time.  Revised to give more correct results through
comparison of long integer milliseconds.Nr   rH   s    r   
notEqualToIDateTime.notEqualTo   r!   r   c                     g)aQ  Compare this DateTime object to another DateTime object OR
a floating point number such as that which is returned by the
python time module. Returns true if the object represents a
date/time less than the specified DateTime or time module
style time.  Revised to give more correct results through
comparison of long integer milliseconds.Nr   rH   s    r   lessThanIDateTime.lessThan   r!   r   c                     g)a]  Compare this DateTime object to another DateTime object OR
a floating point number such as that which is returned by the
python time module. Returns true if the object represents a
date/time less than or equal to the specified DateTime or time
module style time.  Revised to give more correct results
through comparison of long integer milliseconds.Nr   rH   s    r   lessThanEqualToIDateTime.lessThanEqualTo   r!   r   c                      g)zgReturn a tuple containing the calendar year, month, day,
hour, minute second and timezone of the objectNr   r   r   r   partsIDateTime.parts   r!   r   c                      g)z7Return the timezone in which the object is represented.Nr   r   r   r   timezoneIDateTime.timezone   r!   r   c                      g)z4Return the timezone offset for the objects timezone.Nr   r   r   r   tzoffsetIDateTime.tzoffset   r!   r   c                      g)z&Return the calendar year of the objectNr   r   r   r   yearIDateTime.year   r!   r   c                      g)z,Return the month of the object as an integerNr   r   r   r   monthIDateTime.month   r!   r   c                      g)zReturn the full month nameNr   r   r   r   MonthIDateTime.Month   r!   r   c                      g)z!Return the abreviated month name.Nr   r   r   r   aMonthIDateTime.aMonth   r!   r   c                      g)zCompatibility: see aMonthNr   r   r   r   MonIDateTime.Mon   r!   r   c                      g)z/Return the abreviated (with period) month name.Nr   r   r   r   pMonthIDateTime.pMonth   r!   r   c                      g)zCompatibility: see pMonthNr   r   r   r   Mon_IDateTime.Mon_   r!   r   c                      g)zReturn the integer dayNr   r   r   r   dayIDateTime.day   r!   r   c                      g)z+Return the full name of the day of the weekNr   r   r   r   DayIDateTime.Day   r!   r   c                      g)zCompatibility: see DayNr   r   r   r   	DayOfWeekIDateTime.DayOfWeek   r!   r   c                      g)zSReturn the day of the year, in context of the timezone
representation of the objectNr   r   r   r   	dayOfYearIDateTime.dayOfYear   r!   r   c                      g)z1Return the abreviated name of the day of the weekNr   r   r   r   aDayIDateTime.aDay   r!   r   c                      g)z?Return the abreviated (with period) name of the day of the
weekNr   r   r   r   pDayIDateTime.pDay   r!   r   c                      g)zCompatibility: see pDayNr   r   r   r   Day_IDateTime.Day_   r!   r   c                      g)z5Return the integer day of the week, where sunday is 0Nr   r   r   r   dowIDateTime.dow   r!   r   c                      g)z5Return the integer day of the week, where sunday is 1Nr   r   r   r   dow_1IDateTime.dow_1   r!   r   c                      g)z3Return the 12-hour clock representation of the hourNr   r   r   r   h_12IDateTime.h_12   r!   r   c                      gz3Return the 24-hour clock representation of the hourNr   r   r   r   h_24IDateTime.h_24   r!   r   c                      g)z/Return the appropriate time modifier (am or pm)Nr   r   r   r   ampmIDateTime.ampm   r!   r   c                      gr   r   r   r   r   hourIDateTime.hour   r!   r   c                      g)zReturn the minuteNr   r   r   r   minuteIDateTime.minute   r!   r   c                      g)zReturn the secondNr   r   r   r   secondIDateTime.second   r!   r   c                      g)z.Return the millisecond since the epoch in GMT.Nr   r   r   r   millisIDateTime.millis   r!   r   c                     g)zAFormat the date/time using the *current timezone representation*.Nr   )formats    r   strftimeIDateTime.strftime   r!   r   c                      g)z&Return the date string for the object.Nr   r   r   r   DateIDateTime.Date   r!   r   c                      gz;Return the time string for an object to the nearest second.Nr   r   r   r   TimeIDateTime.Time   r!   r   c                      gz9Return the time string for an object not showing seconds.Nr   r   r   r   TimeMinutesIDateTime.TimeMinutes   r!   r   c                      gr   r   r   r   r   AMPMIDateTime.AMPM   r!   r   c                      gr   r   r   r   r   AMPMMinutesIDateTime.AMPMMinutes  r!   r   c                      gz&Return the time string for the object.Nr   r   r   r   PreciseTimeIDateTime.PreciseTime  r!   r   c                      gr   r   r   r   r   PreciseAMPMIDateTime.PreciseAMPM  r!   r   c                      g)z(Return calendar year as a 2 digit stringNr   r   r   r   yyIDateTime.yy
  r!   r   c                      g)z Return month as a 2 digit stringNr   r   r   r   mmIDateTime.mm  r!   r   c                      g)zReturn day as a 2 digit stringNr   r   r   r   ddIDateTime.dd  r!   r   c                      g)z!Return the date in RFC 822 formatNr   r   r   r   rfc822IDateTime.rfc822  r!   r   c                      g)zTReturn a string representing the object's value in the
format: March 1, 1997 1:45 pmNr   r   r   r   fCommonIDateTime.fCommon  r!   r   c                      g)z_Return a string representing the object's value in the
format: March 1, 1997 1:45 pm US/EasternNr   r   r   r   fCommonZIDateTime.fCommonZ  r!   r   c                      g)zRReturn a string representing the object's value in the
format: Mar 1, 1997 1:45 pmNr   r   r   r   aCommonIDateTime.aCommon   r!   r   c                      g)z]Return a string representing the object's value in the
format: Mar 1, 1997 1:45 pm US/EasternNr   r   r   r   aCommonZIDateTime.aCommonZ$  r!   r   c                      g)zSReturn a string representing the object's value in the
format: Mar. 1, 1997 1:45 pmNr   r   r   r   pCommonIDateTime.pCommon(  r!   r   c                      g)z^Return a string representing the object's value
in the format: Mar. 1, 1997 1:45 pm US/EasternNr   r   r   r   pCommonZIDateTime.pCommonZ,  r!   r   c                      g)zReturn the object in ISO standard format. Note: this is
*not* ISO 8601-format! See the ISO8601 and HTML4 methods below
for ISO 8601-compliant output

Dates are output as: YYYY-MM-DD HH:MM:SS
Nr   r   r   r   ISOIDateTime.ISO0  r!   r   c                      g)a  Return the object in ISO 8601-compatible format containing
the date, time with seconds-precision and the time zone
identifier - see http://www.w3.org/TR/NOTE-datetime

Dates are output as: YYYY-MM-DDTHH:MM:SSTZD
    T is a literal character.
    TZD is Time Zone Designator, format +HH:MM or -HH:MM

The HTML4 method below offers the same formatting, but
converts to UTC before returning the value and sets the TZD"Z"
Nr   r   r   r   ISO8601IDateTime.ISO86018  r!   r   c                      g)zReturn the object in the format used in the HTML4.0
specification, one of the standard forms in ISO8601.  See
http://www.w3.org/TR/NOTE-datetime

Dates are output as: YYYY-MM-DDTHH:MM:SSZ
   T, Z are literal characters.
   The time is in UTC.
Nr   r   r   r   HTML4IDateTime.HTML4E  r!   r   c                      g)z[Return the Julian day according to
http://www.tondering.dk/claus/cal/node3.html#sec-calcjd
Nr   r   r   r   	JulianDayIDateTime.JulianDayO  r!   r   c                      g)zaReturn the week number according to ISO.

See https://www.tondering.dk/claus/cal/week.php#weekno
Nr   r   r   r   weekIDateTime.weekT  r!   r   c                     g)zkA DateTime may be added to a number and a number may be
added to a DateTime; two DateTimes cannot be added.Nr   others    r   __add__IDateTime.__add__\  r!   r   c                     g)zyEither a DateTime or a number may be subtracted from a
DateTime, however, a DateTime may not be subtracted from a
number.Nr   r   s    r   __sub__IDateTime.__sub__b  r!   r   c                      g)zCConvert a DateTime to a string that looks like a Python
expression.Nr   r   r   r   __repr__IDateTime.__repr__g  r!   r   c                      g)zConvert a DateTime to a string.Nr   r   r   r   __str__IDateTime.__str__k  r!   r   c                      g)z#Compute a hash value for a DateTimeNr   r   r   r   __hash__IDateTime.__hash__n  r!   r   c                      g)z=Convert to an integer number of seconds since the epoch (gmt)Nr   r   r   r   __int__IDateTime.__int__q  r!   r   c                      g)z=Convert to a long-int number of seconds since the epoch (gmt)Nr   r   r   r   __long__IDateTime.__long__t  r!   r   c                      g)zAConvert to floating-point number of seconds since the epoch (gmt)Nr   r   r   r   	__float__IDateTime.__float__w  r!   r   r   )N)Xr	   r
   r   r   r   r#   r'   r*   r-   r0   r3   r6   r9   r<   r?   rB   rE   rJ   __gt__rM   __ge__rP   __eq__rS   __ne__rV   __lt__rY   __le__r\   r_   rb   re   rh   rk   rn   rq   rt   rw   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   __radd__r   r   r   r  r  r  r  r   r   r   r   r   r       s   502%%,
,
#
#
,
-B
B
4 F<  F) F4 F4 F< F:FC5;)0(>(%:%(@&DDBB>B  =P
5JHJH557/-0
)4'2(=
? H
.2LLPr   r   N)zope.interfacer   	Exceptionr   r   r   r   r   r   r   r   <module>r     sJ    %	I 		- 		 		 	XP	 XPr   