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

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)
Return the minute.

src/e/r/erp5-HEAD/product/Formulator/Widget.py   erp5(Download)
      else:
          hour = "%02d" % value.hour()
      minute = "%02d" % value.minute()
      ampm = value.ampm()
      timezone = value.timezone()

src/e/r/erp5-HEAD/product/ERP5/mixin/periodicity.py   erp5(Download)
      new_date = DateTime(date.timeTime() + 60.0)
    return DateTime(new_date.year(), new_date.month(), new_date.day(),
            new_date.hour(), new_date.minute(), 0, timezone)
 
  security.declareProtected(Permissions.AccessContentsInformation, 'getNextPeriodicalDate')

src/p/r/Products.Formulator-1.15.5/Products/Formulator/Widget.py   Products.Formulator(Download)
            else:
                hour = "%02d" % value.hour()
            minute = "%02d" % value.minute()
            ampm = value.ampm()
 
                    else:
                        sub_values['hour'] = "%02d" % value.hour()
                    sub_values['minute'] = "%02d" % value.minute()
        for subfield in subfields:
            # XXX it would be nicer to pass the hidden value somewhere
        else:
            hour = "%02d" % value.hour()
        minute = "%02d" % value.minute()
        ampm = value.ampm()
 

src/p/l/plone.app.event-1.2.4/plone/app/event/at/content.py   plone.app.event(Download)
                value.day(),
                value.hour(),
                value.minute(),
                int(value.second())  # No microseconds
            )

src/p/r/Products.PloneBooking-3.0.0a2/Products/PloneBooking/content/Booking.py   Products.PloneBooking(Download)
 
        # Seconds are always equals to 0 and minutes a multiple of 5
        minutes = date_value.minute()
        minutes = int(minutes / 5) * 5
        date_string = date_value.strftime('%Y/%m/%d %H')
 
        # Seconds are always equals to 0 and minutes a multiple of 5
        minutes = date_value.minute()
        minutes = int(minutes / 5) * 5
        date_string = date_value.strftime('%Y/%m/%d %H')

src/s/e/seantis.reservation-1.0.21/seantis/reservation/reserve.py   seantis.reservation(Download)
 
        dt = DateTime(value)
        return time(dt.hour(), dt.minute())
 
    def validate(self, data):

src/d/a/DateTime-4.0.1/src/DateTime/tests/test_datetime.py   DateTime(Download)
            dt.day(),
            dt.hour(),
            dt.minute(),
            dt.second(),
            dt.timezone())
            dt.day(),
            dt.hour(),
            dt.minute(),
            dt.second(),
            dt.timezone())
            dt.day(),
            dt.hour(),
            dt.minute(),
            dt.second())
        dt3 = dt2 - 3.141592653