|
|
| version 1.5, 2001/09/04 09:07:04 | version 1.8, 2001/09/26 10:32:25 |
|---|---|
| Line 2 | Line 2 |
| Parser: @b date parser class. | Parser: @b date parser class. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) |
| $Id$ | $Id$ |
| */ | */ |
| static const char *RCSId="$Id$"; | |
| #include "classes.h" | #include "classes.h" |
| #include "pa_request.h" | #include "pa_request.h" |
| Line 136 MDate::MDate(Pool& apool) : Methoded(apo | Line 134 MDate::MDate(Pool& apool) : Methoded(apo |
| // ^set(float days) | // ^set(float days) |
| add_native_method("set", Method::CT_DYNAMIC, _set, 1, 6); | add_native_method("set", Method::CT_DYNAMIC, _set, 1, 6); |
| // ^string[] | // ^sql-string[] |
| add_native_method("sql-string", Method::CT_DYNAMIC, _sql_string, 0, 0); | add_native_method("sql-string", Method::CT_DYNAMIC, _sql_string, 0, 0); |
| // ^roll(year|month|day;+/- 1) | // ^roll(year|month|day;+/- 1) |