HandlerTime.setSqlSpec
void setSqlSpec(glib.types.DateDMY first, glib.types.DateDMY sec, glib.types.DateDMY third, char separator, bool twodigitsYears)Specifies the SQL output style of the dh 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
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 |
twodigitsYears | TRUE if year part of date must be rendered on 2 digits |