Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6891)  |  Call(5618)  |  Derive(35)  |  Import(1238)

src/h/t/HTPC-Manager-HEAD/libs/sqlobject/col.py   HTPC-Manager(Download)
    if hasattr(DateTime, "Time"):
        DateTimeType = type(DateTime.now())
        TimeType = type(DateTime.Time())
    else: # Zope
        DateTimeType = type(DateTime.DateTime())
                return DateTime.Date(value.year, value.month, value.day)
            elif isinstance(value, datetime.time):
                return DateTime.Time(value.hour, value.minute, value.second)
            try:
                stime = time.strptime(value, self.format)

src/s/q/SQLObject-1.6.0b1dev-r4713/sqlobject/col.py   SQLObject(Download)
                return DateTime.Date(value.year, value.month, value.day)
            elif isinstance(value, datetime.time):
                return DateTime.Time(value.hour, value.minute, value.second)
            try:
                if self.format.find(".%f") >= 0:

src/s/q/SQLObject-1.6.0b1dev-r4713/sqlobject/col.py   SQLObject(Download)
    if hasattr(DateTime, "Time"):
        DateTimeType = type(DateTime.now())
        TimeType = type(DateTime.Time())
    else: # Zope
        DateTimeType = type(DateTime.DateTime())