Fixed spelling error Calander -> Calendar

This commit is contained in:
Don BURNS
2002-05-22 19:58:43 +00:00
parent 29258d6a0b
commit 5ce4a54c0d
2 changed files with 4 additions and 4 deletions

View File

@@ -38,8 +38,8 @@ class SG_EXPORT FrameStamp : public Referenced
void setReferenceTime(double refTime) { _referenceTime = refTime; }
double getReferenceTime() const { return _referenceTime; }
void setCalanderTime(const tm& calanderTime);
void getCalanderTime(tm& calanderTime) const;
void setCalendarTime(const tm& calendarTime);
void getCalendarTime(tm& calendarTime) const;
protected:

View File

@@ -47,7 +47,7 @@ FrameStamp& FrameStamp::operator = (const FrameStamp& fs)
return *this;
}
void FrameStamp::setCalanderTime(const tm& ct)
void FrameStamp::setCalendarTime(const tm& ct)
{
tm_sec = ct.tm_sec; /* Seconds. [0-60] (1 leap second) */
tm_min = ct.tm_min; /* Minutes. [0-59] */
@@ -60,7 +60,7 @@ void FrameStamp::setCalanderTime(const tm& ct)
tm_isdst = ct.tm_isdst; /* DST. [-1/0/1]*/
}
void FrameStamp::getCalanderTime(tm& ct) const
void FrameStamp::getCalendarTime(tm& ct) const
{
ct.tm_sec = tm_sec; /* Seconds. [0-60] (1 leap second) */
ct.tm_min = tm_min; /* Minutes. [0-59] */