protected static var _days:Array
protected static var _months:Object
public static function getConversationalDateString(date:Date, now:Date = null):String
Calculates a brief, conversational representation of the given date relative to 'now':
Date occured in a past year:
10/10/1969
Date occured over 6 days ago:
Oct 10
Date occured over 23 hours ago:
Wed 15:10
Date occured in the past 23 hours:
15:10
Parameters
| date:Date |
| |
| now:Date (default = null) |
Returns
public static function getDayName(day:uint, full:Boolean = false):String
Return the name of the given (integer) day; 0 is Sunday, and so on.
Parameters
| day:uint |
| |
| full:Boolean (default = false) |
Returns
public static function getMonthName(month:uint, full:Boolean = false):String
Return the name of the given (integer) month; 0 is January, and so on.
Parameters
| month:uint |
| |
| full:Boolean (default = false) |
Returns
Copyright © 2007-2009 Three Rings Design, Inc.