• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(193)  |  Call(188)  |  Derive(0)  |  Import(5)
The time value as returned by gmtime(), localtime(), and strptime(), and
accepted by asctime(), mktime() and strftime().  May be considered as a
sequence of 9 integers.

Note that several fields' values are not the same as those defined by
the C language standard for struct tm.  For example, the value of the
field tm_year is the actual year, not year - 1900.  See individual
fields' descriptions for details.

src/s/h/shedskin-HEAD/shedskin/lib/datetime.py   shedskin(Download)
from time import struct_time
import string
 
MINYEAR = 1
MAXYEAR = 9999
 
class date:
    def timetuple(self):
        return struct_time((1,))
 
    def toordinal(self):
        return 1
 
    def weekday(self):
    def timetuple(self):
        return struct_time((1,))
 
    def utctimetuple(self):
        return struct_time((1,))
 
    def toordinal(self):

src/f/e/feedformatter-0.4/feedformatter.py   feedformatter(Download)
except ImportError:
    feedformatterCanPrettyPrint = False
 
from time import time, strftime, localtime, mktime, struct_time, timezone
 
# RSS 1.0 Functions ----------
 

src/c/d/cdb-HEAD/couchdb/schema.py   cdb(Download)
from calendar import timegm
from datetime import date, datetime, time
from decimal import Decimal
from time import strptime, struct_time
 
from couchdb.design import ViewDefinition
 

src/c/o/couchdb-python-HEAD/couchdb/schema.py   couchdb-python(Download)
from calendar import timegm
from datetime import date, datetime, time
from decimal import Decimal
from time import strptime, struct_time
 
from couchdb.design import ViewDefinition
 

src/c/o/CouchDB-0.8/couchdb/mapping.py   CouchDB(Download)
from calendar import timegm
from datetime import date, datetime, time
from decimal import Decimal
from time import strptime, struct_time
 
from couchdb.design import ViewDefinition