set_sql_spec
Description:
public void set_sql_spec (DateDMY first, DateDMY sec, DateDMY third, char separator, bool twodigits_years)
Specifies the SQL output style of the this data handler.
The general format is "FIRSTsSECsTHIRD" where FIRST, SEC and THIRD are specified by first
, sec
and trird
and 's' is the separator, specified by separator
.
The default implementation is first
=G_DATE_MONTH, sec
=G_DATE_DAY and third
=G_DATE_YEAR (the year is
rendered on 4 digits) and the separator is '-'
Parameters:
this |
a HandlerTime object |
first |
what comes first in the date representation |
sec |
what comes second in the date representation |
third |
what comes third in the date representation |
separator |
separator character used between year, month and day |
twodigits_years |
TRUE if year part of date must be rendered on 2 digits |