MonthShortToStringLow(): new, counterpart to existing functions
This commit is contained in:
parent
225ba57a45
commit
118d23cd4c
2 changed files with 5 additions and 0 deletions
|
@ -144,6 +144,10 @@ const char* DateTime::DayOfWeekShortToString() const {
|
|||
return DaysStringShort[static_cast<uint8_t>(DayOfWeek())];
|
||||
}
|
||||
|
||||
const char* DateTime::MonthShortToStringLow() const {
|
||||
return MonthsStringLow[static_cast<uint8_t>(Month())];
|
||||
}
|
||||
|
||||
const char* DateTime::MonthShortToStringLow(Months month) {
|
||||
return MonthsStringLow[static_cast<uint8_t>(month)];
|
||||
}
|
||||
|
|
|
@ -121,6 +121,7 @@ namespace Pinetime {
|
|||
|
||||
const char* MonthShortToString() const;
|
||||
const char* DayOfWeekShortToString() const;
|
||||
const char* MonthShortToStringLow() const;
|
||||
static const char* MonthShortToStringLow(Months month);
|
||||
static const char* DayOfWeekShortToStringLow(Days day);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue