Changeset 34872 in webkit for trunk/JavaScriptCore/kjs/DateMath.h
- Timestamp:
- Jun 29, 2008, 12:53:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/DateMath.h
r33930 r34872 48 48 namespace KJS { 49 49 50 class UString; 50 51 struct GregorianDateTime; 51 52 … … 58 59 double getCurrentUTCTimeWithMicroseconds(); 59 60 void getLocalTime(const time_t*, tm*); 61 62 // Not really math related, but this is currently the only shared place to put these. 63 double parseDate(const UString&); 64 double timeClip(double); 65 UString formatDate(const GregorianDateTime&); 66 UString formatDateUTCVariant(const GregorianDateTime&); 67 UString formatTime(const GregorianDateTime&, bool inputIsUTC); 60 68 61 69 … … 174 182 }; 175 183 176 } //namespace KJS 184 static inline int gmtoffset(const GregorianDateTime& t) 185 { 186 return t.utcOffset; 187 } 188 189 } // namespace KJS 177 190 178 191 #endif // DateMath_h
Note:
See TracChangeset
for help on using the changeset viewer.