1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -36,9 +36,9 @@ public:
static DateTime create(int year, int month = 1, int day = 1, int hour = 0, int minute = 0, int second = 0);
static DateTime now();
static DateTime from_timestamp(time_t);
static Optional<DateTime> parse(StringView format, const String& string);
static Optional<DateTime> parse(StringView format, String const& string);
bool operator<(const DateTime& other) const { return m_timestamp < other.m_timestamp; }
bool operator<(DateTime const& other) const { return m_timestamp < other.m_timestamp; }
private:
time_t m_timestamp { 0 };
@ -54,7 +54,7 @@ private:
namespace IPC {
bool encode(IPC::Encoder&, const Core::DateTime&);
bool encode(IPC::Encoder&, Core::DateTime const&);
ErrorOr<void> decode(IPC::Decoder&, Core::DateTime&);
}