nsIScriptableDateFormat

IID:0c89efb0-1aae-11d3-9141-006008a6edf6
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

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

Methods

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

PRUnichar* FormatDate ( PRUnichar* locale , PRInt32 dateFormatSelector , PRInt32 year , PRInt32 month , PRInt32 day )

Arguments:
locale
dateFormatSelector
year
month
day

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

Arguments:
locale
dateFormatSelector
timeFormatSelector
year
month
day
hour
minute
second

PRUnichar* FormatTime ( PRUnichar* locale , PRInt32 timeFormatSelector , PRInt32 hour , PRInt32 minute , PRInt32 second )

Arguments:
locale
timeFormatSelector
hour
minute
second

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com