27 #ifndef __SBDATETIMEPROPERTYINFO_H__
28 #define __SBDATETIMEPROPERTYINFO_H__
30 #include <sbIPropertyManager.h>
34 #include <nsStringGlue.h>
35 #include <nsDateTimeFormatCID.h>
36 #include <nsIDateTimeFormat.h>
37 #include <nsILocale.h>
38 #include <nsILocaleService.h>
39 #include <nsAutoLock.h>
49 NS_DECL_SBIDATETIMEPROPERTYINFO
57 NS_IMETHOD
Sanitize(
const nsAString &
aValue, nsAString & _retval);
58 NS_IMETHOD
Format(
const nsAString &
aValue, nsAString & _retval);
PRLock * mDateTimeFormatLock
NS_IMETHOD Format(const nsAString &aValue, nsAString &_retval)
The property information specific to date/time fields.
nsCOMPtr< sbIPropertyUnitConverter > mUnitConverter
#define NS_FORWARD_SBIPROPERTYINFO_STDPROP(_to)
NS_IMETHOD Sanitize(const nsAString &aValue, nsAString &_retval)
nsCOMPtr< nsIDateTimeFormat > mDateTimeFormat
virtual ~sbDatetimePropertyInfo()
NS_IMETHOD Validate(const nsAString &aValue, PRBool *_retval)
nsCOMPtr< nsILocale > mAppLocale
NS_IMETHOD MakeSearchable(const nsAString &aValue, nsAString &_retval)
nsresult InitializeOperators()
NS_DECL_SBIDATETIMEPROPERTYINFO sbDatetimePropertyInfo()
PRLock * mMinMaxDateTimeLock