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)

  • 相关阅读:
    【题解】[Codeforces 1221D] Make The Fence Great Again【DP】
    PAM / 回文自动机(回文树)略解
    【AGC048F】【2020六校联考WC #9】序列【构造】【DP】
    json解析:[2]fastjson 使用
    JAVA获取时间戳,哪个更快
    Android拍照、录像、录音代码范例
    取消GridView/ListView item被点击时的效果
    Android中使用speex将PCM录音格式转Wav格式
    【Android】【录音】Android录音--AudioRecord、MediaRecorder
    Android软键盘遮挡的四种解决方案
  • 原文地址:https://www.cnblogs.com/YingxuanZHANG/p/8808672.html
Copyright © 2011-2022 走看看