Changeset 44508 in webkit for trunk/JavaScriptCore/wtf/DateMath.h
- Timestamp:
- Jun 8, 2009, 3:37:06 PM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/DateMath.h
r44501 r44508 2 2 * Copyright (C) 1999-2000 Harri Porten ([email protected]) 3 3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 5 * 5 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 … … 46 47 #include <wtf/Noncopyable.h> 47 48 48 namespace JSC{49 namespace WTF { 49 50 50 class UString;51 51 struct GregorianDateTime; 52 52 53 void init DateMath();53 void initializeDates(); 54 54 void msToGregorianDateTime(double, bool outputIsUTC, GregorianDateTime&); 55 55 double gregorianDateTimeToMS(const GregorianDateTime&, double, bool inputIsUTC); … … 61 61 62 62 // Not really math related, but this is currently the only shared place to put these. 63 double parseDate (const UString&);63 double parseDateFromNullTerminatedCharacters(const char*); 64 64 double timeClip(double); 65 UString formatDate(const GregorianDateTime&);66 UString formatDateUTCVariant(const GregorianDateTime&);67 UString formatTime(const GregorianDateTime&, bool inputIsUTC);68 69 65 70 66 const char * const weekdayName[7] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" }; … … 187 183 } 188 184 189 } // namespace JSC185 } // namespace WTF 190 186 191 187 #endif // DateMath_h
Note:
See TracChangeset
for help on using the changeset viewer.