zoukankan      html  css  js  c++  java
  • Help on class timedelta in module datetime:

    Help on class timedelta in module datetime:

    class timedelta(__builtin__.object)
    | Difference between two datetime values.
    |
    | Methods defined here:
    |
    | __abs__(...)
    | x.__abs__() <==> abs(x)
    |
    | __add__(...)
    | x.__add__(y) <==> x+y
    |
    | __div__(...)
    | x.__div__(y) <==> x/y
    |
    | __eq__(...)
    | x.__eq__(y) <==> x==y
    |
    | __floordiv__(...)
    | x.__floordiv__(y) <==> x//y
    |
    | __ge__(...)
    | x.__ge__(y) <==> x>=y
    |
    | __getattribute__(...)
    | x.__getattribute__('name') <==> x.name
    |
    | __gt__(...)
    | x.__gt__(y) <==> x>y
    |
    | __hash__(...)
    | x.__hash__() <==> hash(x)
    |
    | __le__(...)
    | x.__le__(y) <==> x<=y
    |
    | __lt__(...)
    | x.__lt__(y) <==> x<y
    |
    | __mul__(...)
    | x.__mul__(y) <==> x*y
    |
    | __ne__(...)
    | x.__ne__(y) <==> x!=y
    |
    | __neg__(...)
    | x.__neg__() <==> -x
    |
    | __nonzero__(...)
    | x.__nonzero__() <==> x != 0
    |
    | __pos__(...)
    | x.__pos__() <==> +x
    |
    | __radd__(...)
    | x.__radd__(y) <==> y+x
    |
    | __rdiv__(...)
    | x.__rdiv__(y) <==> y/x
    |
    | __reduce__(...)
    | __reduce__() -> (cls, state)
    |
    | __repr__(...)
    | x.__repr__() <==> repr(x)
    |
    | __rfloordiv__(...)
    | x.__rfloordiv__(y) <==> y//x
    |
    | __rmul__(...)
    | x.__rmul__(y) <==> y*x
    |
    | __rsub__(...)
    | x.__rsub__(y) <==> y-x
    |
    | __str__(...)
    | x.__str__() <==> str(x)
    |
    | __sub__(...)
    | x.__sub__(y) <==> x-y
    |
    | total_seconds(...)
    | Total seconds in the duration.
    |
    | ----------------------------------------------------------------------
    | Data descriptors defined here:
    |
    | days
    | Number of days.
    |
    | microseconds
    | Number of microseconds (>= 0 and less than 1 second).
    |
    | seconds
    | Number of seconds (>= 0 and less than 1 day).
    |
    | ----------------------------------------------------------------------
    | Data and other attributes defined here:
    |
    | __new__ = <built-in method __new__ of type object>
    | T.__new__(S, ...) -> a new object with type S, a subtype of T
    |
    | max = datetime.timedelta(999999999, 86399, 999999)
    |
    | min = datetime.timedelta(-999999999)
    |
    | resolution = datetime.timedelta(0, 0, 1)

  • 相关阅读:
    正则表达式入门教程
    js获取class
    锋利的jQuery第6章 jQuery与Ajax的应用
    显示隐藏左侧菜单
    unicode转为汉字
    $.ajax
    .ashx文件
    c#正则表达式
    调试发现的小错误
    sql2005连接不到本地数据库
  • 原文地址:https://www.cnblogs.com/YingxuanZHANG/p/8808672.html
Copyright © 2011-2022 走看看