Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
DateImpl Class Reference
Inheritance diagram for DateImpl:
Inheritance graph
Collaboration diagram for DateImpl:
Collaboration graph

List of all members.

Public Member Functions

 DateImpl (const PRTime s)
virtual ~DateImpl ()
GetValue (PRTime *value)
boolean EqualsNode (in nsIRDFNode aNode)

Public Attributes

readonly attribute long long Value
 The date value of the literal.

Private Member Functions

nsresult EqualsDate (nsIRDFDate *date, PRBool *result)

Private Attributes

PRTime mValue

Detailed Description

Definition at line 664 of file nsRDFService.cpp.

Constructor & Destructor Documentation

Definition at line 684 of file nsRDFService.cpp.

Here is the call graph for this function:

DateImpl::~DateImpl ( ) [virtual]

Definition at line 691 of file nsRDFService.cpp.


    // Use NS_RELEASE2() here, because we want to decrease the
    // refcount, but not null out the gRDFService pointer (which is
    // what a vanilla NS_RELEASE() would do).
    nsrefcnt refcnt;
    NS_RELEASE2(gRDFService, refcnt);

Here is the call graph for this function:

Member Function Documentation

nsresult DateImpl::EqualsDate ( nsIRDFDate date,
PRBool result 
) [private]

Definition at line 751 of file nsRDFService.cpp.

    NS_ASSERTION(date && result, "null ptr");
    if (!date || !result)
        return NS_ERROR_NULL_POINTER;

    nsresult rv;
    PRTime p;
    if (NS_FAILED(rv = date->GetValue(&p)))
        return rv;

    *result = LL_EQ(p, mValue);
    return NS_OK;
boolean nsIRDFNode::EqualsNode ( in nsIRDFNode  aNode) [inherited]

Definition at line 739 of file nsRDFService.cpp.

    NS_ASSERTION(value, "null ptr");
    if (! value)
        return NS_ERROR_NULL_POINTER;

    *value = mValue;
    return NS_OK;

Member Data Documentation

Definition at line 680 of file nsRDFService.cpp.

readonly attribute long long nsIRDFDate::Value [inherited]

The date value of the literal.

Definition at line 71 of file nsIRDFLiteral.idl.

The documentation for this class was generated from the following file: