summaryrefslogtreecommitdiff
path: root/ACE/ace/Date_Time.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
commit3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (patch)
tree71301b1d02a56c2137c4e4c1b378aea4acd139a7 /ACE/ace/Date_Time.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Date_Time.h')
-rw-r--r--ACE/ace/Date_Time.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ACE/ace/Date_Time.h b/ACE/ace/Date_Time.h
index 4c3484a727e..8f9dde69a74 100644
--- a/ACE/ace/Date_Time.h
+++ b/ACE/ace/Date_Time.h
@@ -31,7 +31,7 @@ class ACE_Export ACE_Date_Time
{
public:
/// Constructor initializes current time/date info.
- ACE_Date_Time (void);
+ ACE_Date_Time ();
/// Constructor initializes with the given ACE_Time_Value
explicit ACE_Date_Time (const ACE_Time_Value& timevalue);
@@ -48,55 +48,55 @@ public:
long wday = 0);
/// Update to the current time/date.
- void update (void);
+ void update ();
/// Update to the given ACE_Time_Value
void update (const ACE_Time_Value& timevalue);
/// Get day.
- long day (void) const;
+ long day () const;
/// Set day.
void day (long day);
/// Get month.
- long month (void) const;
+ long month () const;
/// Set month.
void month (long month);
/// Get year.
- long year (void) const;
+ long year () const;
/// Set year.
void year (long year);
/// Get hour.
- long hour (void) const;
+ long hour () const;
/// Set hour.
void hour (long hour);
/// Get minute.
- long minute (void) const;
+ long minute () const;
/// Set minute.
void minute (long minute);
/// Get second.
- long second (void) const;
+ long second () const;
/// Set second.
void second (long second);
/// Get microsec.
- long microsec (void) const;
+ long microsec () const;
/// Set microsec.
void microsec (long microsec);
/// Get weekday.
- long weekday (void) const;
+ long weekday () const;
/// Set weekday.
void weekday (long wday);