ó
ÓËÞKc           @   sb  d  Z  d d l m Z m Z d d l m Z d d l m Z m Z m Z m Z m	 Z	 d e f d „  ƒ  YZ
 d e
 f d „  ƒ  YZ d	 e f d
 „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ e e e ƒ e e e ƒ e e e ƒ e e e ƒ e e	 e ƒ d S(   s¾   Datetime interfaces.

This module is called idatetime because if it were called datetime the import
of the real datetime would fail.

$Id: idatetime.py 110736 2010-04-11 10:59:30Z regebro $
iÿÿÿÿ(   t	   Interfacet	   Attribute(   t   classImplements(   t	   timedeltat   datet   datetimet   timet   tzinfot   ITimeDeltaClassc           B   s2   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z RS(   s&   This is the timedelta class interface.s"   The most negative timedelta objects"   The most positive timedelta objects;   The smallest difference between non-equal timedelta objects(   t   __name__t
   __module__t   __doc__R   t   mint   maxt
   resolution(    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR      s
   t
   ITimeDeltac           B   s2   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z RS(   s·  Represent the difference between two datetime objects.

    Supported operators:

    - add, subtract timedelta
    - unary plus, minus, abs
    - compare to timedelta
    - multiply, divide by int/long

    In addition, datetime supports subtraction of two datetime objects
    returning a timedelta, and addition or subtraction of a datetime
    and a timedelta giving a datetime.

    Representation: (days, seconds, microseconds).
    s/   Days between -999999999 and 999999999 inclusives%   Seconds between 0 and 86399 inclusives+   Microseconds between 0 and 999999 inclusive(   R	   R
   R   R   t   dayst   secondst   microseconds(    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   %   s   t
   IDateClassc           B   sM   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z d „  Z d „  Z d „  Z	 RS(   s!   This is the date class interface.s   The earliest representable dates   The latest representable dates6   The smallest difference between non-equal date objectsc           C   s   d S(   s]   Return the current local time.

        This is equivalent to date.fromtimestamp(time.time())N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   todayG   s    c         C   s   d S(   sº  Return the local date from a POSIX timestamp (like time.time())

        This may raise ValueError, if the timestamp is out of the range of
        values supported by the platform C localtime() function. It's common
        for this to be restricted to years from 1970 through 2038. Note that
        on non-POSIX systems that include leap seconds in their notion of a
        timestamp, leap seconds are ignored by fromtimestamp().
        N(    (   t	   timestamp(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   fromtimestampL   s    c         C   s   d S(   s  Return the date corresponding to the proleptic Gregorian ordinal.

         January 1 of year 1 has ordinal 1. ValueError is raised unless
         1 <= ordinal <= date.max.toordinal().
         For any date d, date.fromordinal(d.toordinal()) == d.
         N(    (   t   ordinal(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   fromordinalV   s    (
   R	   R
   R   R   R   R   R   R   R   R   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   =   s   			
t   IDatec           B   sŒ   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z d „  Z d „  Z d „  Z	 d „  Z
 d „  Z d	 „  Z d
 „  Z d „  Z d „  Z d „  Z RS(   sÅ   Represents a date (year, month and day) in an idealized calendar.

    Operators:

    __repr__, __str__
    __cmp__, __hash__
    __add__, __radd__, __sub__ (add/radd only with timedelta arg)
    s&   Between MINYEAR and MAXYEAR inclusive.s   Between 1 and 12 inclusivesF   Between 1 and the number of days in the given month of the given year.c         C   s   d S(   sô   Return a date with the same value.

        Except for those members given new values by whichever keyword
        arguments are specified. For example, if d == date(2002, 12, 31), then
        d.replace(day=26) == date(2000, 12, 26). 
        N(    (   t   yeart   montht   day(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   replacep   s    c           C   s   d S(   s0  Return a 9-element tuple of the form returned by time.localtime().

        The hours, minutes and seconds are 0, and the DST flag is -1.
        d.timetuple() is equivalent to
        (d.year, d.month, d.day, 0, 0, 0, d.weekday(), d.toordinal() -
        date(d.year, 1, 1).toordinal() + 1, -1)
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt	   timetuplex   s    c           C   s   d S(   s¬   Return the proleptic Gregorian ordinal of the date

        January 1 of year 1 has ordinal 1. For any date object d,
        date.fromordinal(d.toordinal()) == d.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt	   toordinal   s    c           C   s   d S(   s¼   Return the day of the week as an integer.

        Monday is 0 and Sunday is 6. For example,
        date(2002, 12, 4).weekday() == 2, a Wednesday.

        See also isoweekday().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   weekdayˆ   s    c           C   s   d S(   sË   Return the day of the week as an integer.

        Monday is 1 and Sunday is 7. For example,
        date(2002, 12, 4).isoweekday() == 3, a Wednesday.

        See also weekday(), isocalendar().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt
   isoweekday‘   s    c           C   s   d S(   se  Return a 3-tuple, (ISO year, ISO week number, ISO weekday).

        The ISO calendar is a widely used variant of the Gregorian calendar.
        See http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm for a good
        explanation.

        The ISO year consists of 52 or 53 full weeks, and where a week starts
        on a Monday and ends on a Sunday. The first week of an ISO year is the
        first (Gregorian) calendar week of a year containing a Thursday. This
        is called week number 1, and the ISO year of that Thursday is the same
        as its Gregorian year.

        For example, 2004 begins on a Thursday, so the first week of ISO year
        2004 begins on Monday, 29 Dec 2003 and ends on Sunday, 4 Jan 2004, so
        that date(2003, 12, 29).isocalendar() == (2004, 1, 1) and
        date(2004, 1, 4).isocalendar() == (2004, 1, 7).
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   isocalendarš   s    c           C   s   d S(   s¥   Return a string representing the date in ISO 8601 format.

        This is 'YYYY-MM-DD'.
        For example, date(2002, 12, 4).isoformat() == '2002-12-04'.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt	   isoformat­   s    c           C   s   d S(   s4   For a date d, str(d) is equivalent to d.isoformat().N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   __str__´   s    c           C   s   d S(   sp  Return a string representing the date.

        For example date(2002, 12, 4).ctime() == 'Wed Dec 4 00:00:00 2002'.
        d.ctime() is equivalent to time.ctime(time.mktime(d.timetuple()))
        on platforms where the native C ctime() function
        (which time.ctime() invokes, but which date.ctime() does not invoke)
        conforms to the C standard.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   ctime·   s    c         C   s   d S(   s°   Return a string representing the date.

        Controlled by an explicit format string. Format codes referring to
        hours, minutes or seconds will see 0 values.
        N(    (   t   format(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   strftimeÁ   s    (   R	   R
   R   R   R   R   R   R   R   R   R    R!   R"   R#   R$   R%   R'   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   _   s   													
t   IDateTimeClassc           B   sw   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z d „  Z d d „ Z	 d „  Z
 d d „ Z d „  Z d	 „  Z d
 „  Z RS(   s%   This is the datetime class interface.s#   The earliest representable datetimes!   The latest representable datetimesC   The smallest possible difference between non-equal datetime objectsc           C   s   d S(   sª   Return the current local datetime, with tzinfo None.

        This is equivalent to datetime.fromtimestamp(time.time()).
        See also now(), fromtimestamp().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   Ó   s    c         C   s   d S(   sk  Return the current local date and time.

        If optional argument tz is None or not specified, this is like today(),
        but, if possible, supplies more precision than can be gotten from going
        through a time.time() timestamp (for example, this may be possible on
        platforms supplying the C gettimeofday() function).

        Else tz must be an instance of a class tzinfo subclass, and the current
        date and time are converted to tz's time zone. In this case the result
        is equivalent to tz.fromutc(datetime.utcnow().replace(tzinfo=tz)).

        See also today(), utcnow().
        N(    (   t   tz(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   nowÚ   s    c           C   s   d S(   sÆ   Return the current UTC date and time, with tzinfo None.

        This is like now(), but returns the current UTC date and time, as a
        naive datetime object. 

        See also now().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   utcnowé   s    c         C   s   d S(   sK  Return the local date and time corresponding to the POSIX timestamp.

        Same as is returned by time.time(). If optional argument tz is None or
        not specified, the timestamp is converted to the platform's local date
        and time, and the returned datetime object is naive.

        Else tz must be an instance of a class tzinfo subclass, and the
        timestamp is converted to tz's time zone. In this case the result is
        equivalent to
        tz.fromutc(datetime.utcfromtimestamp(timestamp).replace(tzinfo=tz)).

        fromtimestamp() may raise ValueError, if the timestamp is out of the
        range of values supported by the platform C localtime() or gmtime()
        functions. It's common for this to be restricted to years in 1970
        through 2038. Note that on non-POSIX systems that include leap seconds
        in their notion of a timestamp, leap seconds are ignored by
        fromtimestamp(), and then it's possible to have two timestamps
        differing by a second that yield identical datetime objects.

        See also utcfromtimestamp().
        N(    (   R   R)   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   ò   s    c         C   s   d S(   sE  Return the UTC datetime from the POSIX timestamp with tzinfo None.

        This may raise ValueError, if the timestamp is out of the range of
        values supported by the platform C gmtime() function. It's common for
        this to be restricted to years in 1970 through 2038.

        See also fromtimestamp().
        N(    (   R   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   utcfromtimestamp	  s    c         C   s   d S(   s"  Return the datetime from the proleptic Gregorian ordinal.

        January 1 of year 1 has ordinal 1. ValueError is raised unless
        1 <= ordinal <= datetime.max.toordinal().
        The hour, minute, second and microsecond of the result are all 0, and
        tzinfo is None.
        N(    (   R   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR     s    c         C   s   d S(   sU  Return a new datetime object.

        Its date members are equal to the given date object's, and whose time
        and tzinfo members are equal to the given time object's. For any
        datetime object d, d == datetime.combine(d.date(), d.timetz()).
        If date is a datetime object, its time and tzinfo members are ignored.
        N(    (   R   R   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   combine  s    N(   R	   R
   R   R   R   R   R   R   t   NoneR*   R+   R   R,   R   R-   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR(   É   s   					
		t	   IDateTimec           B   s  e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z	 e d ƒ Z
 e d ƒ Z d	 „  Z d
 „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d d „ Z d „  Z d „  Z d „  Z RS(   sN   Object contains all the information from a date object and a time object.
    s*   Year between MINYEAR and MAXYEAR inclusives    Month between 1 and 12 inclusivesC   Day between 1 and the number of days in the given month of the years   Hour in range(24)s   Minute in range(60)s   Second in range(60)s   Microsecond in range(1000000)sg   The object passed as the tzinfo argument to the datetime constructor
        or None if none was passedc           C   s   d S(   s1   Return date object with same year, month and day.N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   =  s    c           C   s   d S(   s{   Return time object with same hour, minute, second, microsecond.

        tzinfo is None. See also method timetz().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   @  s    c           C   s   d S(   s}   Return time object with same hour, minute, second, microsecond,
        and tzinfo.

        See also method time().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   timetzF  s    c         C   s   d S(   s(  Return a datetime with the same members, except for those members
        given new values by whichever keyword arguments are specified.

        Note that tzinfo=None can be specified to create a naive datetime from
        an aware datetime with no conversion of date and time members.
        N(    (   R   R   R   t   hourt   minutet   secondt   microsecondR   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   M  s    c         C   s   d S(   s¾  Return a datetime object with new tzinfo member tz, adjusting the
        date and time members so the result is the same UTC time as self, but
        in tz's local time.

        tz must be an instance of a tzinfo subclass, and its utcoffset() and
        dst() methods must not return None. self must be aware (self.tzinfo
        must not be None, and self.utcoffset() must not return None).

        If self.tzinfo is tz, self.astimezone(tz) is equal to self: no
        adjustment of date or time members is performed. Else the result is
        local time in time zone tz, representing the same UTC time as self:
            after astz = dt.astimezone(tz), astz - astz.utcoffset()
        will usually have the same date and time members as dt - dt.utcoffset().
        The discussion of class tzinfo explains the cases at Daylight Saving
        Time transition boundaries where this cannot be achieved (an issue only
        if tz models both standard and daylight time).

        If you merely want to attach a time zone object tz to a datetime dt
        without adjustment of date and time members, use dt.replace(tzinfo=tz).
        If you merely want to remove the time zone object from an aware
        datetime dt without conversion of date and time members, use 
        dt.replace(tzinfo=None).

        Note that the default tzinfo.fromutc() method can be overridden in a
        tzinfo subclass to effect the result returned by astimezone().
        N(    (   R)   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt
   astimezoneU  s    c           C   s   d S(   sQ   Return the timezone offset in minutes east of UTC (negative west of
        UTC).N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt	   utcoffsetq  s    c           C   s   d S(   so   Return 0 if DST is not in effect, or the DST offset (in minutes
        eastward) if DST is in effect.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   dstu  s    c           C   s   d S(   s   Return the timezone name.N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   tznamez  s    c           C   s   d S(   sB   Return a 9-element tuple of the form returned by time.localtime().N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   }  s    c           C   s   d S(   s5   Return UTC time tuple compatilble with time.gmtimr().N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   utctimetuple€  s    c           C   s   d S(   sj   Return the proleptic Gregorian ordinal of the date.

        The same as self.date().toordinal().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   ƒ  s    c           C   s   d S(   sš   Return the day of the week as an integer.

        Monday is 0 and Sunday is 6. The same as self.date().weekday().
        See also isoweekday().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR    ‰  s    c           C   s   d S(   s§   Return the day of the week as an integer.

        Monday is 1 and Sunday is 7. The same as self.date().isoweekday.
        See also weekday(), isocalendar().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR!     s    c           C   s   d S(   st   Return a 3-tuple, (ISO year, ISO week number, ISO weekday).

        The same as self.date().isocalendar().
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR"   —  s    t   Tc         C   s   d S(   s  Return a string representing the date and time in ISO 8601 format.

        YYYY-MM-DDTHH:MM:SS.mmmmmm or YYYY-MM-DDTHH:MM:SS if microsecond is 0

        If utcoffset() does not return None, a 6-character string is appended,
        giving the UTC offset in (signed) hours and minutes:

        YYYY-MM-DDTHH:MM:SS.mmmmmm+HH:MM or YYYY-MM-DDTHH:MM:SS+HH:MM
        if microsecond is 0.

        The optional argument sep (default 'T') is a one-character separator,
        placed between the date and time portions of the result.
        N(    (   t   sep(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR#     s    c           C   s   d S(   sM   For a datetime instance d, str(d) is equivalent to d.isoformat(' ').
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR$   ¬  s    c           C   s   d S(   s  Return a string representing the date and time.

        datetime(2002, 12, 4, 20, 30, 40).ctime() == 'Wed Dec 4 20:30:40 2002'.
        d.ctime() is equivalent to time.ctime(time.mktime(d.timetuple())) on
        platforms where the native C ctime() function (which time.ctime()
        invokes, but which datetime.ctime() does not invoke) conforms to the
        C standard.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR%   °  s    c         C   s   d S(   sr   Return a string representing the date and time.

        This is controlled by an explicit format string.
        N(    (   R&   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR'   º  s    (   R	   R
   R   R   R   R   R   R1   R2   R3   R4   R   R   R   R0   R   R5   R6   R7   R8   R   R9   R   R    R!   R"   R#   R$   R%   R'   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR/   &  s:   																		
t
   ITimeClassc           B   s2   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z RS(   s!   This is the time class interface.s   The earliest representable times   The latest representable times?   The smallest possible difference between non-equal time objects(   R	   R
   R   R   R   R   R   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR<   Á  s
   t   ITimec           B   s‰   e  Z d  Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z d „  Z	 d „  Z
 d „  Z d	 „  Z d
 „  Z d „  Z d „  Z RS(   s`   Represent time with time zone.

    Operators:

    __repr__, __str__
    __cmp__, __hash__
    s   Hour in range(24)s   Minute in range(60)s   Second in range(60)s   Microsecond in range(1000000)sd   The object passed as the tzinfo argument to the time constructor
        or None if none was passed.c         C   s   d S(   s  Return a time with the same value.

        Except for those members given new values by whichever keyword
        arguments are specified. Note that tzinfo=None can be specified
        to create a naive time from an aware time, without conversion of the
        time members.
        N(    (   R1   R2   R3   R4   R   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR   á  s    c           C   s   d S(   sa  Return a string representing the time in ISO 8601 format.

        That is HH:MM:SS.mmmmmm or, if self.microsecond is 0, HH:MM:SS
        If utcoffset() does not return None, a 6-character string is appended,
        giving the UTC offset in (signed) hours and minutes:
        HH:MM:SS.mmmmmm+HH:MM or, if self.microsecond is 0, HH:MM:SS+HH:MM
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR#   ê  s    c           C   s   d S(   s4   For a time t, str(t) is equivalent to t.isoformat().N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR$   ó  s    c         C   s   d S(   si   Return a string representing the time.

        This is controlled by an explicit format string.
        N(    (   R&   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR'   ö  s    c           C   s   d S(   s_  Return the timezone offset in minutes east of UTC (negative west of
        UTC).

        If tzinfo is None, returns None, else returns
        self.tzinfo.utcoffset(None), and raises an exception if the latter
        doesn't return None or a timedelta object representing a whole number
        of minutes with magnitude less than one day.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR6   ü  s    c           C   s   d S(   so  Return 0 if DST is not in effect, or the DST offset (in minutes
        eastward) if DST is in effect.

        If tzinfo is None, returns None, else returns self.tzinfo.dst(None),
        and raises an exception if the latter doesn't return None, or a
        timedelta object representing a whole number of minutes with
        magnitude less than one day.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR7     s    c           C   s   d S(   sÐ   Return the timezone name.

        If tzinfo is None, returns None, else returns self.tzinfo.tzname(None),
        or raises an exception if the latter doesn't return None or a string
        object.
        N(    (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR8     s    (   R	   R
   R   R   R1   R2   R3   R4   R   R   R#   R$   R'   R6   R7   R8   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR=   Ì  s   								
	
t   ITZInfoc           B   s2   e  Z d  Z d „  Z d „  Z d „  Z d „  Z RS(   s   Time zone info class.
    c         C   s   d S(   s^  Return offset of local time from UTC, in minutes east of UTC.

        If local time is west of UTC, this should be negative.
        Note that this is intended to be the total offset from UTC;
        for example, if a tzinfo object represents both time zone and DST
        adjustments, utcoffset() should return their sum. If the UTC offset
        isn't known, return None. Else the value returned must be a timedelta
        object specifying a whole number of minutes in the range -1439 to 1439
        inclusive (1440 = 24*60; the magnitude of the offset must be less
        than one day).
        N(    (   t   dt(    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR6     s    c         C   s   d S(   s‚   Return the daylight saving time (DST) adjustment, in minutes east
        of UTC, or None if DST information isn't known.
        N(    (   R?   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR7   *  s    c         C   s   d S(   s\   Return the time zone name corresponding to the datetime object as
        a string.
        N(    (   R?   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR8   /  s    c         C   s   d S(   s3   Return an equivalent datetime in self's local time.N(    (   R?   (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   fromutc4  s    (   R	   R
   R   R6   R7   R8   R@   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyR>     s
   			N(   R   t   zope.interfaceR    R   R   R   R   R   R   R   R   R   R   R   R(   R/   R<   R=   R>   (    (    (    sC   /usr/lib/python2.7/dist-packages/zope/interface/common/idatetime.pyt   <module>   s"   ("j]›M