@mozilla.org/intl/scriptabledateformat;1

This component implements the following interfaces:

Constants

PRInt32 nsIScriptableDateFormat.dateFormatNone = 0
PRInt32 nsIScriptableDateFormat.dateFormatLong = 1
PRInt32 nsIScriptableDateFormat.dateFormatShort = 2
PRInt32 nsIScriptableDateFormat.dateFormatYearMonth = 3
PRInt32 nsIScriptableDateFormat.dateFormatWeekday = 4
PRInt32 nsIScriptableDateFormat.timeFormatNone = 0
PRInt32 nsIScriptableDateFormat.timeFormatSeconds = 1
PRInt32 nsIScriptableDateFormat.timeFormatNoSeconds = 2
PRInt32 nsIScriptableDateFormat.timeFormatSecondsForce24Hour = 3
PRInt32 nsIScriptableDateFormat.timeFormatNoSecondsForce24Hour = 4

Methods

InterfaceMethod
nsIScriptableDateFormat PRUnichar* FormatDate ( PRUnichar* locale , PRInt32 dateFormatSelector , PRInt32 year , PRInt32 month , PRInt32 day )
nsIScriptableDateFormat PRUnichar* FormatDateTime ( PRUnichar* locale , PRInt32 dateFormatSelector , PRInt32 timeFormatSelector , PRInt32 year , PRInt32 month , PRInt32 day , PRInt32 hour , PRInt32 minute , PRInt32 second )
nsIScriptableDateFormat PRUnichar* FormatTime ( PRUnichar* locale , PRInt32 timeFormatSelector , PRInt32 hour , PRInt32 minute , PRInt32 second )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com