Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1531)

Unified Diff: third_party/WebKit/Source/wtf/DateMath.h

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/DataLog.cpp ('k') | third_party/WebKit/Source/wtf/DateMath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/DateMath.h
diff --git a/third_party/WebKit/Source/wtf/DateMath.h b/third_party/WebKit/Source/wtf/DateMath.h
index c7946a9a392599c6ee7b32a24d6f6d1c848bcec2..7c23ebc36e0f996d2c1b3e7146feab10d994a5ae 100644
--- a/third_party/WebKit/Source/wtf/DateMath.h
+++ b/third_party/WebKit/Source/wtf/DateMath.h
@@ -55,11 +55,22 @@ WTF_EXPORT void initializeDates();
// Not really math related, but this is currently the only shared place to put these.
WTF_EXPORT double parseDateFromNullTerminatedCharacters(const char* dateString);
// dayOfWeek: [0, 6] 0 being Monday, day: [1, 31], month: [0, 11], year: ex: 2011, hours: [0, 23], minutes: [0, 59], seconds: [0, 59], utcOffset: [-720,720].
-WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset);
+WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek,
+ unsigned day,
+ unsigned month,
+ unsigned year,
+ unsigned hours,
+ unsigned minutes,
+ unsigned seconds,
+ int utcOffset);
-const char weekdayName[7][4] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
-const char monthName[12][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
-const char* const monthFullName[12] = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
+const char weekdayName[7][4] = {"Mon", "Tue", "Wed", "Thu",
+ "Fri", "Sat", "Sun"};
+const char monthName[12][4] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun",
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
+const char* const monthFullName[12] = {
+ "January", "February", "March", "April", "May", "June",
+ "July", "August", "September", "October", "November", "December"};
const double minutesPerHour = 60.0;
const double secondsPerMinute = 60.0;
@@ -81,7 +92,7 @@ WTF_EXPORT int dayInMonthFromDayInYear(int dayInYear, bool leapYear);
// Returns milliseconds with UTC and DST.
WTF_EXPORT double convertToLocalTime(double ms);
-} // namespace WTF
+} // namespace WTF
using WTF::isLeapYear;
using WTF::dateToDaysFrom1970;
@@ -99,4 +110,4 @@ using WTF::parseDateFromNullTerminatedCharacters;
using WTF::makeRFC2822DateString;
using WTF::convertToLocalTime;
-#endif // DateMath_h
+#endif // DateMath_h
« no previous file with comments | « third_party/WebKit/Source/wtf/DataLog.cpp ('k') | third_party/WebKit/Source/wtf/DateMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698