Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Member Functions | Private Attributes
nsSchemaDuration Class Reference

#include <nsSchemaDuration.h>

Inheritance diagram for nsSchemaDuration:
Inheritance graph
[legend]
Collaboration diagram for nsSchemaDuration:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSISCHEMADURATION 
nsSchemaDuration (PRUint32 aYears, PRUint32 aMonths, PRUint32 aDays, PRUint32 aHours, PRUint32 aMinutes, PRUint32 aSeconds, double aFractionalSeconds, PRBool aNegative)
PRUint32 getYears ()
PRUint32 getMonths ()
PRUint32 getDays ()
PRUint32 getHours ()
PRUint32 getMinutes ()
PRUint32 getSeconds ()
double getFractionSeconds ()

Private Member Functions

 ~nsSchemaDuration ()

Private Attributes

PRUint32 years
PRUint32 months
PRUint32 days
PRUint32 hours
PRUint32 minutes
PRUint32 seconds
double fractional_seconds
PRBool negative

Detailed Description

Definition at line 55 of file nsSchemaDuration.h.


Constructor & Destructor Documentation

nsSchemaDuration::nsSchemaDuration ( PRUint32  aYears,
PRUint32  aMonths,
PRUint32  aDays,
PRUint32  aHours,
PRUint32  aMinutes,
PRUint32  aSeconds,
double  aFractionalSeconds,
PRBool  aNegative 
)

Definition at line 59 of file nsSchemaDuration.cpp.

{
  years = aYears;
  months = aMonths;
  days = aDays;
  hours = aHours;
  minutes = aMinutes;
  seconds = aSeconds;
  fractional_seconds = aFractionalSeconds;
  negative = aNegative;
}

Definition at line 74 of file nsSchemaDuration.cpp.

{
}

Member Function Documentation

double nsISchemaDuration::getFractionSeconds ( ) [inherited]

Member Data Documentation

Definition at line 68 of file nsSchemaDuration.h.

Definition at line 72 of file nsSchemaDuration.h.

Definition at line 69 of file nsSchemaDuration.h.

Definition at line 70 of file nsSchemaDuration.h.

Definition at line 67 of file nsSchemaDuration.h.

Implements nsISchemaDuration.

Definition at line 74 of file nsSchemaDuration.h.

Definition at line 71 of file nsSchemaDuration.h.

Definition at line 66 of file nsSchemaDuration.h.


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