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:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue