17.1 time_to_int as method