Home | History | Annotate | Download | only in grass

Lines Matching refs:hour

82         int hour = (int) Math.floor(time);
83 int minute = (int) Math.round((time - hour) * 60);
85 hour++;
87 return hour;
91 int hour = (int) Math.floor(time);
92 int minute = (int) Math.round((time - hour) * 60);
100 int hour = (int) Math.floor(time);
101 int minute = (int) Math.round((time - hour) * 60);
104 hour++;
106 return (hour * 60 + minute) / 1440.0f;
111 int hour = (int) Math.floor(time);
112 int minute = (int) Math.round((time - hour) * 60);
115 hour++;
117 buffer.append(hour).append(':').append(minute < 10 ? "0" + minute : minute);
137 * Computes the base longitude hour, lngHour in the algorithm.
139 * @return the longitude of the location of the solar event divided by 15 (deg/hour), in