Access keys

DateUtil

Kind of class: class
Inherits from: none
Version: 09/28/06
Author: Aaron Clinger
Classpath: org.casaframework.util.DateUtil
File last modified: Monday, 08 January 2007, 09:57:51

Class methods

formatDate

static function formatDate (
dateToFormat:Date, formatString:String) : String

getCountdownUntil

static function getCountdownUntil (
startDate:Date, futureDate:Date) : Object

getDayAbbrAsString

static function getDayAbbrAsString (
day:Number) : String

getDayAsString

static function getDayAsString (
day:Number) : String

getDayOfTheYear

static function getDayOfTheYear (
d:Date) : Number

getDaysInMonth

static function getDaysInMonth (
month:Number, year:Number) : Number

getDayTwoLetterAbbrAsString

static function getDayTwoLetterAbbrAsString (
day:Number) : String

getDifferenceFromUTCInHours

static function getDifferenceFromUTCInHours (
d:Date) : String

getDifferenceFromUTCInSeconds

static function getDifferenceFromUTCInSeconds (
d:Date) : Number

getInternetTime

static function getInternetTime (
d:Date) : Number

getMeridiem

static function getMeridiem (
hours:Number) : String

getMonthAbbrAsString

static function getMonthAbbrAsString (
month:Number) : String

getMonthAsString

static function getMonthAsString (
month:Number) : String

getOrdinalSuffix

static function getOrdinalSuffix (
date:Number) : String

getTimeUntil

static function getTimeUntil (
startDate:Date, futureDate:Date) : Object

getTimezone

static function getTimezone (
d:Date) : String

getWeekOfTheYear

static function getWeekOfTheYear (
d:Date) : Number

gregorianToJulian

static function gregorianToJulian (
year:Number, month:Number, day:Number, hours:Number, minutes:Number, seconds:Number) : Number

isDaylightSavings

static function isDaylightSavings (
d:Date) : Boolean

isLeapYear

static function isLeapYear (
year:Number) : Boolean