Lines Matching defs:RCTime

51 ** Class: RCTime (ref: prtime.h)
61 class PR_IMPLEMENT(RCTime): public RCBase
66 RCTime(); /* leaves the object unitialized */
67 RCTime(Current); /* initializes to current system time */
68 RCTime(const RCTime&); /* copy constructor */
69 RCTime(const PRExplodedTime&); /* construction from exploded representation */
71 virtual ~RCTime();
74 void operator=(const RCTime&);
78 PRBool operator<(const RCTime&);
79 PRBool operator>(const RCTime&);
80 PRBool operator<=(const RCTime&);
81 PRBool operator>=(const RCTime&);
82 PRBool operator==(const RCTime&);
85 RCTime operator+(const RCTime&);
86 RCTime operator-(const RCTime&);
87 RCTime& operator+=(const RCTime&);
88 RCTime& operator-=(const RCTime&);
91 RCTime operator/(PRUint64);
92 RCTime operator*(PRUint64);
93 RCTime& operator/=(PRUint64);
94 RCTime& operator*=(PRUint64);
103 RCTime(PRTime); /* construct from raw PRTime */
106 }; /* RCTime */
108 inline RCTime::RCTime(): RCBase() { }
110 inline void RCTime::Now() { gmt = PR_Now(); }
111 inline RCTime::operator PRTime() const { return gmt; }
113 inline void RCTime::operator=(PRTime his) { gmt = his; }
114 inline void RCTime::operator=(const RCTime& his) { gmt = his.gmt; }
116 inline PRBool RCTime::operator<(const RCTime& his)
118 inline PRBool RCTime::operator>(const RCTime& his)
120 inline PRBool RCTime::operator<=(const RCTime& his)
122 inline PRBool RCTime::operator>=(const RCTime& his)
124 inline PRBool RCTime::operator==(const RCTime& his)
127 inline RCTime& RCTime::operator+=(const RCTime& his)
129 inline RCTime& RCTime::operator-=(const RCTime& his)
131 inline RCTime& RCTime::operator/=(PRUint64 his)
133 inline RCTime& RCTime::operator*=(PRUint64 his)
138 /* RCTime.h */