W3cubDocs

/Haxe Java

Date

package java.util

implements Comparable<Date>, Cloneable, Serializable

extended by Date, Time, Timestamp

@:libType@:javaNative@:native("java.util.Date")@:javaCanonical("java.util","Date") Available on java

Constructor

@:overload new (param1:String)

@:overload new ()

@:overload new (param1:Int64)

@:overload new (param1:Int, param2:Int, param3:Int)

@:overload new (param1:Int, param2:Int, param3:Int, param4:Int, param5:Int)

@:overload new (param1:Int, param2:Int, param3:Int, param4:Int, param5:Int, param6:Int)

Methods

@:overload after (param1:Date):Bool

@:overload before (param1:Date):Bool

@:overload clone ():Dynamic

@:overload compareTo (param1:Dynamic):Int

@:overload compareTo (param1:Date):Int

@:overload equals (param1:Dynamic):Bool

@:overload getDate ():Int

@:overload getDay ():Int

@:overload getHours ():Int

@:overload getMinutes ():Int

@:overload getMonth ():Int

@:overload getSeconds ():Int

@:overload getTime ():Int64

@:overload getTimezoneOffset ():Int

@:overload getYear ():Int

@:overload hashCode ():Int

@:overload setDate (param1:Int):Void

@:overload setHours (param1:Int):Void

@:overload setMinutes (param1:Int):Void

@:overload setMonth (param1:Int):Void

@:overload setSeconds (param1:Int):Void

@:overload setTime (param1:Int64):Void

@:overload setYear (param1:Int):Void

@:overload toGMTString ():String

@:overload toLocaleString ():String

@:overload toString ():String

Static methods

@:overload static UTC (param1:Int, param2:Int, param3:Int, param4:Int, param5:Int, param6:Int):Int64

@:overload static parse (param1:String):Int64

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/util/Date.html