Android Utililty Methods Time to Week

List of utility methods to do Time to Week

Description

The list of methods to do Time to Week are organized into topic(s).

Method

inthoursToEndOfWeek(Time t)
Return number of whole hoursto the end of the week of a given time.
t.normalize(false);
final int hoursPassedInWeek = (t.weekDay * 24) + t.hour;
return Math.max(0, (7 * 24) - hoursPassedInWeek);