QString CTDayOfWeek::describe() const { initializeNames(); if (enabledCount() == CTDayOfWeek::MAXIMUM) return tr("every day "); else return CTUnit::genericDescribe(shortName); }
string CTDayOfMonth::describe() const { initializeNames(); return (count() == 31) ? (const char*)i18n("every day ").local8Bit() : CTUnit<1,31>::describe(shortName); }
QString CTDayOfWeek::getName(const int ndx, const bool format) { initializeNames(); return (format == shortFormat) ? shortName[ndx] : longName[ndx]; }
QString CTDayOfMonth::getName(const int ndx) { initializeNames(); return shortName[ndx]; }
QString CTDayOfMonth::describe() const { initializeNames(); return (enabledCount() == CTDayOfMonth::MAXIMUM) ? i18n("every day ") : CTUnit::genericDescribe(shortName); }