|
|
| version 1.50, 2003/11/03 11:10:28 | version 1.52, 2003/11/07 13:59:21 |
|---|---|
| Line 19 static const char* IDENT_DATE_C="$Date$" | Line 19 static const char* IDENT_DATE_C="$Date$" |
| class MDate: public Methoded { | class MDate: public Methoded { |
| public: // VStateless_class | public: // VStateless_class |
| Value* create_new_value() { return new VDate(0); } | Value* create_new_value(Pool& apool) { return new VDate(0); } |
| public: | public: |
| MDate(); | MDate(); |
| Line 389 static void _unix_timestamp(Request& r, | Line 389 static void _unix_timestamp(Request& r, |
| throw Exception(0, | throw Exception(0, |
| 0, | 0, |
| "date object already constructed"); | "date object already constructed"); |
| // ^unix-timestamp(time_t) | // ^unix-timestamp(time_t) |
| time_t t=(time_t)params.as_int(0, "Unix timestamp must be integer", r); | time_t t=(time_t)params.as_int(0, "Unix timestamp must be integer", r); |