Changeset 17010 in webkit for trunk/JavaScriptCore/kjs/DateMath.h
- Timestamp:
- Oct 12, 2006, 10:58:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/DateMath.h
r16855 r17010 46 46 namespace KJS { 47 47 48 // Intentionally overridding the default tm of the system 49 // Not all OS' have the same members of their tm's 50 struct tm { 51 int tm_sec; 52 int tm_min; 53 int tm_hour; 54 int tm_wday; 55 int tm_mday; 56 int tm_yday; 57 int tm_mon; 58 int tm_year; 59 int tm_isdst; 60 long tm_gmtoff; 61 char* tm_zone; 62 }; 63 48 64 // Constants // 49 65 … … 61 77 // Exported Functions // 62 78 void msToTM(double, bool outputIsUTC, struct tm& ); 63 double dateToM seconds(tm*, double, bool inputIsUTC);79 double dateToMS(const tm&, double, bool inputIsUTC); 64 80 double getUTCOffset(); 81 82 tm tmToKJStm(const struct ::tm&); 83 ::tm KJStmToTm(const struct tm&); 65 84 66 85 } //namespace KJS
Note:
See TracChangeset
for help on using the changeset viewer.