Songbird / Development / Songbird Add-Ons API Documentation

sbIDatetimePropertyInfo Interface Reference

The property information specific to date/time fields. More...

import "sbIPropertyManager.idl";

Inheritance diagram for sbIDatetimePropertyInfo:

sbIPropertyInfo List of all members.

Public Attributes

readonly attribute AString OPERATOR_INTHELAST
readonly attribute AString OPERATOR_NOTINTHELAST
readonly attribute AString OPERATOR_ONDATE
readonly attribute AString OPERATOR_NOTONDATE
readonly attribute AString OPERATOR_BEFOREDATE
readonly attribute AString OPERATOR_BEFOREORONDATE
readonly attribute AString OPERATOR_AFTERDATE
readonly attribute AString OPERATOR_AFTERORONDATE
readonly attribute AString OPERATOR_BETWEENDATES
const long TIMETYPE_UNINITIALIZED = -1
const long TIMETYPE_DATE = 0
 2007-03-28 , in localized format
const long TIMETYPE_TIME = 1
 HH:mm:ss.ms, in localized format. Limited to 24 hour days.
const long TIMETYPE_DATETIME = 2
 Long date format, 2007-03-28 12:33:01 , no milliseconds.
const long TIMETYPE_TIMESTAMP = 4
 Timestamp format, respects unix time, microsecond format.
attribute long timeType
 You must initialize this attribute before using this object. If you do not, all methods on this object will return NS_ERROR_NOT_INITIALIZED.
attribute long long minDateTime
 A minimum datetime value to enforce when validating. If you do not wish to use this, set it to 0.
attribute long long maxDateTime
 A maximum datetime value to enforce when validating. If you do not wish to use this, set it to 0.

Detailed Description

The property information specific to date/time fields.

See also:
sbIPropertyInfo

Definition at line 408 of file sbIPropertyManager.idl.


Member Data Documentation

const long sbIDatetimePropertyInfo::TIMETYPE_TIMESTAMP = 4

Timestamp format, respects unix time, microsecond format.

Note:
This is also the internal storage type for this property.

Definition at line 441 of file sbIPropertyManager.idl.

attribute long long sbIDatetimePropertyInfo::minDateTime

A minimum datetime value to enforce when validating. If you do not wish to use this, set it to 0.

You must set this attribute in order for this object to function properly. If you do not, all methods on this object will return NS_ERROR_NOT_INITIALIZED.

Definition at line 458 of file sbIPropertyManager.idl.

attribute long long sbIDatetimePropertyInfo::maxDateTime

A maximum datetime value to enforce when validating. If you do not wish to use this, set it to 0.

You must set this attribute in order for this object to function properly. If you do not, all methods on this object will return NS_ERROR_NOT_INITIALIZED.

Definition at line 468 of file sbIPropertyManager.idl.


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:28:57 2009 for Songbird by  doxygen 1.5.2