set_str_spec


Description:

[ Version ( since = "4.2.1" ) ]
public void set_str_spec (DateDMY first, DateDMY sec, DateDMY third, char separator, bool twodigits_years)

Specifies the human readable 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 depends on the current locale, except if this was created using HandlerTime.no_locale.

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