W3cubDocs

/Haxe Python

Timedelta

package python.lib.datetime

@:pythonImport("datetime","timedelta") Available on python

Constructor

@:value({ weeks : 0, hours : 0, minutes : 0, milliseconds : 0, microseconds : 0, seconds : 0, days : 0 }) new (days:Int = 0, seconds:Int = 0, microseconds:Int = 0, milliseconds:Int = 0, minutes:Int = 0, hours:Int = 0, weeks:Int = 0)

Variables

days:Int

microseconds:Int

seconds:Int

Methods

total_seconds ():Float

Static variables

static max:Timedelta

static min:Timedelta

static resolution:Timedelta

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/lib/datetime/Timedelta.html