Haxe 3.4 - datetime.Datetime

Datetime




haxe

Datetime

पैकेज python.lib.datetime

@: pythonImport ("डेटाटाइम", "डेटटाइम") अजगर पर उपलब्ध है

निर्माता

@:value({ tzinfo : null, microsecond : 0, second : 0, minute : 0, hour : 0 }) new ( year: Int , month: Int , day: Int , hour: Int = 0, minute: Int = 0, second: Int = 0, microsecond: Int = 0, ?tzinfo: Tzinfo )

चर

day : Int

hour : Int

microsecond : Int

minute : Int

month : Int

second : Int

tzinfo : Tzinfo

year : Int

तरीके

isoweekday (): Int

@:value({ minute : 0, hour : 0, day : 1, month : 1, year : 1970 }) replace ( year: Int = 1970, month: Int = 1, day: Int = 1, hour: Int = 0, minute: Int = 0, ?second: Int , ?microsecond: Int , ?tzinfo: Tzinfo ): Datetime

strftime ( format: String ): String

timestamp (): Float

timetuple (): StructTime

weekday (): Int

स्थैतिक चर

static max : Datetime

static min : Datetime

static resolution : Timedelta

स्थैतिक तरीके

static fromordinal ( ordinal: Int ): Datetime

@:value({ tzInfo : null }) static fromtimestamp ( timestamp: Float , ?tzInfo: Tzinfo ): Datetime

static now ( ?tzinfo: Tzinfo ): Datetime

static today (): Datetime

static utcfromtimestamp ( timestamp: Int ): Datetime

static utcnow (): Datetime