| 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
|
|
|