summaryrefslogtreecommitdiff
path: root/ace/Date_Time.i
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-09 01:39:50 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-09 01:39:50 +0000
commit76b3edb9b284a791f1b2a24ba449b5527f515f48 (patch)
tree5a1e02849fad2926403dcb534a2f7c92f7105089 /ace/Date_Time.i
parent89b3554cf8f46189db3a3c483a6f1ada988b140d (diff)
downloadATCD-76b3edb9b284a791f1b2a24ba449b5527f515f48.tar.gz
ChangeLogTag:Thu Jun 8 18:35:30 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Date_Time.i')
-rw-r--r--ace/Date_Time.i44
1 files changed, 21 insertions, 23 deletions
diff --git a/ace/Date_Time.i b/ace/Date_Time.i
index bfae34af0a3..f2af625069c 100644
--- a/ace/Date_Time.i
+++ b/ace/Date_Time.i
@@ -26,15 +26,15 @@ ACE_Date_Time::ACE_Date_Time(long day,
// set/get portions of ACE_Date_Time, no check for validy
// get day
-ASYS_INLINE long
-ACE_Date_Time::day (void)
+ASYS_INLINE long
+ACE_Date_Time::day (void) const
{
ACE_TRACE ("ACE_Date_Time::day");
return day_;
}
// set day
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::day (long day)
{
ACE_TRACE ("ACE_Date_Time::day");
@@ -42,15 +42,15 @@ ACE_Date_Time::day (long day)
}
// get month
-ASYS_INLINE long
-ACE_Date_Time::month (void)
+ASYS_INLINE long
+ACE_Date_Time::month (void) const
{
ACE_TRACE ("ACE_Date_Time::month");
return month_;
}
// set month
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::month (long month)
{
ACE_TRACE ("ACE_Date_Time::month");
@@ -58,15 +58,15 @@ ACE_Date_Time::month (long month)
}
// get year
-ASYS_INLINE long
-ACE_Date_Time::year (void)
+ASYS_INLINE long
+ACE_Date_Time::year (void) const
{
ACE_TRACE ("ACE_Date_Time::year");
return year_;
}
// set year
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::year (long year)
{
ACE_TRACE ("ACE_Date_Time::year");
@@ -74,15 +74,15 @@ ACE_Date_Time::year (long year)
}
// get hour
-ASYS_INLINE long
-ACE_Date_Time::hour (void)
+ASYS_INLINE long
+ACE_Date_Time::hour (void) const
{
ACE_TRACE ("ACE_Date_Time::hour");
return hour_;
}
// set hour
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::hour (long hour)
{
ACE_TRACE ("ACE_Date_Time::hour");
@@ -90,15 +90,15 @@ ACE_Date_Time::hour (long hour)
}
// get minute
-ASYS_INLINE long
-ACE_Date_Time::minute (void)
+ASYS_INLINE long
+ACE_Date_Time::minute (void) const
{
ACE_TRACE ("ACE_Date_Time::minute");
return minute_;
}
// set minute
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::minute (long minute)
{
ACE_TRACE ("ACE_Date_Time::minute");
@@ -106,15 +106,15 @@ ACE_Date_Time::minute (long minute)
}
// get second
-ASYS_INLINE long
-ACE_Date_Time::second (void)
+ASYS_INLINE long
+ACE_Date_Time::second (void) const
{
ACE_TRACE ("ACE_Date_Time::second");
return second_;
}
// set second
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::second (long second)
{
ACE_TRACE ("ACE_Date_Time::second");
@@ -122,19 +122,17 @@ ACE_Date_Time::second (long second)
}
// get microsec
-ASYS_INLINE long
-ACE_Date_Time::microsec (void)
+ASYS_INLINE long
+ACE_Date_Time::microsec (void) const
{
ACE_TRACE ("ACE_Date_Time::microsec");
return microsec_;
}
// set microsec
-ASYS_INLINE void
+ASYS_INLINE void
ACE_Date_Time::microsec (long microsec)
{
ACE_TRACE ("ACE_Date_Time::microsec");
microsec_ = microsec;
}
-
-