Date

extern class java.util.Dateimplements Comparable<Date>implements Cloneableimplements SerializableAvailable in javaThe Date class is used for date manipulation. There is some extra functions available in the DateTools class. function new() : VoidCreates a new date object. function after( param1 : Date ) : Bool function before( param1 : Date ) : Bool function clone() : Dynamic function compareTo( param1 : Date ) : Int function equals( param1 : Dynamic ) : Bool function getDate() : IntReturns the day of the date (1-31 range). function getDay() : IntReturns the week day of the date (0-6 range). function getHours() : IntReturns the hours value of the date (0-23 range). function getMinutes() : IntReturns the minutes value of the date (0-59 range). function getMonth() : IntReturns the month of the date (0-11 range). function getSeconds() : IntReturns the seconds of the date (0-59 range). function getTime() : Int64Returns the timestamp of the date. It's the number of milliseconds elapsed since 1st January 1970. It might only have a per-second precision depending on the platforms. function getTimezoneOffset() : Int function getYear() : IntReturns the full year of the date. function hashCode() : Int function setDate( param1 : Int ) : Void function setHours( param1 : Int ) : Void function setMinutes( param1 : Int ) : Void function setMonth( param1 : Int ) : Void function setSeconds( param1 : Int ) : Void function setTime( param1 : Int64 ) : Void function setYear( param1 : Int ) : Void function toGMTString() : String function toLocaleString() : String function toString() : StringReturns a string representation for the Date, by using the standard format YYYY-MM-DD HH:MM:SS. See DateTools.format for other formating rules. static function UTC( param1 : Int, param2 : Int, param3 : Int, param4 : Int, param5 : Int, param6 : Int ) : Int64 static function parse( param1 : String ) : Int64
version #19078, modified 2013-05-08 10:59:09 by api
0 comment