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

Unified Diff: Source/wtf/DateMath.h

Issue 57383009: Remove duplicate isLeapYear (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix export Created 7 years, 1 month 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 | « Source/platform/DateComponents.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/DateMath.h
diff --git a/Source/wtf/DateMath.h b/Source/wtf/DateMath.h
index 7c08cbc1b76210217a981d8ca245e5b58d7142b2..32b2b693e980ae58d0976791c33b038f50974626 100644
--- a/Source/wtf/DateMath.h
+++ b/Source/wtf/DateMath.h
@@ -88,7 +88,7 @@ const double msPerHour = 60.0 * 60.0 * 1000.0;
const double msPerDay = 24.0 * 60.0 * 60.0 * 1000.0;
const double msPerMonth = 2592000000.0;
-bool isLeapYear(int year);
+WTF_EXPORT bool isLeapYear(int year);
// Returns the number of days from 1970-01-01 to the specified date.
WTF_EXPORT double dateToDaysFrom1970(int year, int month, int day);
« no previous file with comments | « Source/platform/DateComponents.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698