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)

  • 相关阅读:
    让Visual Studio 2008 和 2010支持Web Services Enhancements (WSE) 3.0
    不清楚BA的角色是什么
    int的一点事,读《深入C#内存管理来分析值类型&引用类型,装箱&拆箱,堆栈几个概念组合之间的区别》
    Angular2.0视频教程来了!
    [11]缺少动态连接库.socannot open shared object file: No such file or directory
    计算机网络常考知识点总结
    计算机网络——数据链路层
    计算机网络——物理层
    Java内存模型_基础
    JAVA_Lock
  • 原文地址:https://www.cnblogs.com/YingxuanZHANG/p/8808672.html
Copyright © 2011-2022 走看看