Make function DayOfWeekShortToStringLow const
This commit is contained in:
parent
b15f90aa1d
commit
f5e9055e09
|
@ -127,7 +127,7 @@ const char* DateTime::MonthShortToStringLow(Months month) {
|
||||||
return MonthsStringLow[static_cast<uint8_t>(month)];
|
return MonthsStringLow[static_cast<uint8_t>(month)];
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* DateTime::DayOfWeekShortToStringLow() {
|
const char* DateTime::DayOfWeekShortToStringLow() const {
|
||||||
return DaysStringShortLow[static_cast<uint8_t>(dayOfWeek)];
|
return DaysStringShortLow[static_cast<uint8_t>(dayOfWeek)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ namespace Pinetime {
|
||||||
const char* MonthShortToString() const;
|
const char* MonthShortToString() const;
|
||||||
const char* DayOfWeekShortToString() const;
|
const char* DayOfWeekShortToString() const;
|
||||||
static const char* MonthShortToStringLow(Months month);
|
static const char* MonthShortToStringLow(Months month);
|
||||||
const char* DayOfWeekShortToStringLow();
|
const char* DayOfWeekShortToStringLow() const;
|
||||||
|
|
||||||
std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> CurrentDateTime() const {
|
std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> CurrentDateTime() const {
|
||||||
return currentDateTime;
|
return currentDateTime;
|
||||||
|
|
Loading…
Reference in a new issue