Static methods

staticaddDays(date:Date, days:Int):Date

staticaddMinutes(date:Date, minutes:Int):Date

staticaddMonth(date:Date, months:Int):Date

staticcompare(date:Null<Date>, toDate:Null<Date>):Null<Int>

-1 : date < toDate 0 : date = toDate +1 date > toDate

@:value({ subjectiveDate : true })staticconvertToDate(value:String, subjectiveDate:Bool = true):Date

staticconvertToUTCDate(localDate:Date):Date

@:value({ includeSeconds : false })staticgetDateTimeMysqlFormat(date:Date, includeSeconds:Bool = false):String

staticgetDates(month:Int, year:Int):Array<Date>

staticgetDatesBetweenDates(dateA:Date, dateB:Date):Array<Date>

staticgetDaysBetweenDates(dateA:Date, dateB:Date):Int

staticgetDiffDay(date1:Date, date2:Date):Float

staticgetDiffHour(date1:Date, date2:Date):Float

staticgetDiffMinutes(dateStart:Date, dateEnd:Date):Float

staticgetDiffYears(date1:Date, date2:Date):Float

staticgetFirstDay(month:Int, year:Int):Date

staticgetLastDay(month:Int, year:Int):Date

staticgetMonthName(monthValue:Int):String

staticgetOnlyDate(date:Date):Date

staticinlinegetUTCNow():Date