Changeset 14821 in webkit for trunk/JavaScriptCore/kjs/date_object.h
- Timestamp:
- Jun 12, 2006, 12:02:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/date_object.h
r12921 r14821 57 57 58 58 /** 59 * @internal 60 * 61 * Class to implement all methods that are properties of the 62 * Date.prototype object 63 */ 64 class DateProtoFunc : public InternalFunctionImp { 65 public: 66 DateProtoFunc(ExecState *, int i, int len, const Identifier& date); 67 68 virtual JSValue *callAsFunction(ExecState *, JSObject *thisObj, const List &args); 69 70 enum { ToString, ToDateString, ToTimeString, ToLocaleString, 71 ToLocaleDateString, ToLocaleTimeString, ValueOf, GetTime, 72 GetFullYear, GetMonth, GetDate, GetDay, GetHours, GetMinutes, 73 GetSeconds, GetMilliSeconds, GetTimezoneOffset, SetTime, 74 SetMilliSeconds, SetSeconds, SetMinutes, SetHours, SetDate, 75 SetMonth, SetFullYear, ToUTCString, 76 // non-normative properties (Appendix B) 77 GetYear, SetYear, ToGMTString }; 78 private: 79 int id; 80 bool utc; 81 }; 82 83 /** 59 84 * @internal 60 85 *
Note:
See TracChangeset
for help on using the changeset viewer.