Apply clang-format
This commit is contained in:
parent
06e29dd751
commit
34170b83f1
|
@ -217,8 +217,8 @@ string DateTime::toIsoStringWithCustomDelimiters(TimeSpan timeZoneDelta, char da
|
|||
{
|
||||
stringstream s(stringstream::in | stringstream::out);
|
||||
s << setfill('0');
|
||||
s << setw(4) << year() << dateDelimiter << setw(2) << month() << dateDelimiter << setw(2) << day() << 'T' << setw(2) << hour() << timeDelimiter << setw(2) << minute() << timeDelimiter
|
||||
<< setw(2) << second();
|
||||
s << setw(4) << year() << dateDelimiter << setw(2) << month() << dateDelimiter << setw(2) << day() << 'T' << setw(2) << hour() << timeDelimiter
|
||||
<< setw(2) << minute() << timeDelimiter << setw(2) << second();
|
||||
const int milli(millisecond());
|
||||
const int micro(microsecond());
|
||||
const int nano(nanosecond());
|
||||
|
|
|
@ -85,7 +85,8 @@ public:
|
|||
constexpr bool isSameDay(const DateTime &other) const;
|
||||
std::string toString(DateTimeOutputFormat format = DateTimeOutputFormat::DateAndTime, bool noMilliseconds = false) const;
|
||||
void toString(std::string &result, DateTimeOutputFormat format = DateTimeOutputFormat::DateAndTime, bool noMilliseconds = false) const;
|
||||
std::string toIsoStringWithCustomDelimiters(TimeSpan timeZoneDelta = TimeSpan(), char dateDelimiter = '-', char timeDelimiter = ':', char timeZoneDelimiter = ':') const;
|
||||
std::string toIsoStringWithCustomDelimiters(
|
||||
TimeSpan timeZoneDelta = TimeSpan(), char dateDelimiter = '-', char timeDelimiter = ':', char timeZoneDelimiter = ':') const;
|
||||
std::string toIsoString(TimeSpan timeZoneDelta = TimeSpan()) const;
|
||||
constexpr std::time_t toTimeStamp() const;
|
||||
static const char *printDayOfWeek(DayOfWeek dayOfWeek, bool abbreviation = false);
|
||||
|
|
Loading…
Reference in New Issue