Range: Renamed meethods by prepending 'is_'

This commit is contained in:
Paul Beckingham 2016-05-12 08:32:40 -04:00
parent b626f0bec4
commit e1e1a30a98
18 changed files with 71 additions and 71 deletions

View file

@ -51,7 +51,7 @@ Color tagColor (const Rules& rules, const std::string& tag)
std::string intervalSummarize (const Rules& rules, const Interval& interval)
{
std::stringstream out;
if (interval.range.started ())
if (interval.range.is_started ())
{
// Combine and colorize tags.
std::string tags;
@ -64,7 +64,7 @@ std::string intervalSummarize (const Rules& rules, const Interval& interval)
}
// Interval closed.
if (interval.range.ended ())
if (interval.range.is_ended ())
{
Duration dur (Datetime (interval.range.end) - Datetime (interval.range.start));
out << "Recorded " << tags << '\n'