27 #ifndef __SBDURATIONPROPERTYINFO_H__
28 #define __SBDURATIONPROPERTYINFO_H__
30 #include <sbIPropertyInfo.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>
40 #include <sbIPropertyUnitConverter.h>
49 NS_DECL_SBIDURATIONPROPERTYINFO
57 NS_IMETHOD
Sanitize(
const nsAString &
aValue, nsAString & _retval);
58 NS_IMETHOD
Format(
const nsAString &
aValue, nsAString & _retval);
virtual ~sbDurationPropertyInfo()
PRLock * mDateTimeFormatLock
PRBool mDurationDisplayMillisec
#define NS_FORWARD_SBIPROPERTYINFO_STDPROP(_to)
nsresult InitializeOperators()
The property information specific to date/time fields.
NS_IMETHOD Validate(const nsAString &aValue, PRBool *_retval)
NS_DECL_SBIDURATIONPROPERTYINFO sbDurationPropertyInfo()
NS_IMETHOD Format(const nsAString &aValue, nsAString &_retval)
NS_IMETHOD MakeSearchable(const nsAString &aValue, nsAString &_retval)
nsCOMPtr< nsILocale > mAppLocale
nsCOMPtr< nsIDateTimeFormat > mDateTimeFormat
NS_IMETHOD Sanitize(const nsAString &aValue, nsAString &_retval)
PRLock * mMinMaxDurationLock