mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ISO8601: Dead code removal
This commit is contained in:
parent
fed3b815a0
commit
7ac86185e4
2 changed files with 0 additions and 10 deletions
|
@ -130,13 +130,6 @@ void ISO8601d::clear ()
|
||||||
_offset = 0;
|
_offset = 0;
|
||||||
_utc = false;
|
_utc = false;
|
||||||
_value = 0;
|
_value = 0;
|
||||||
_default_seconds = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
void ISO8601d::set_default_time (int hours, int minutes, int seconds)
|
|
||||||
{
|
|
||||||
_default_seconds = (hours * 3600) + (minutes * 60) + seconds;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -40,7 +40,6 @@ public:
|
||||||
operator time_t () const;
|
operator time_t () const;
|
||||||
bool parse (const std::string&, std::string::size_type&);
|
bool parse (const std::string&, std::string::size_type&);
|
||||||
void clear ();
|
void clear ();
|
||||||
void set_default_time (int, int, int);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool parse_date_time (Nibbler&);
|
bool parse_date_time (Nibbler&);
|
||||||
|
@ -65,8 +64,6 @@ public:
|
||||||
int _offset;
|
int _offset;
|
||||||
bool _utc;
|
bool _utc;
|
||||||
time_t _value;
|
time_t _value;
|
||||||
|
|
||||||
int _default_seconds;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Period
|
// Period
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue