LocalTime.java class in jsr-310-ri-core-20100209 contains two methods :
1) toSecondsOfDay() that returns an int as the time as seconds of day, from 0 to
24 * 60 * 60 - 1.
2) fromSecondsOfDay(long secondOfDay) takes as parameter a long instance which
is the second of day, from 0 to 24 * 60 * 60 â€“ 1
Ideally either toSecondsOfDay should return a Long or fromSecondsOfDay should
take an int.