com.github.fedy2.weather.data.unit
Class Time
java.lang.Object
com.github.fedy2.weather.data.unit.Time
public class Time
- extends Object
- Author:
- "Federico De Faveri defaveri@gmail.com"
Time
public Time(int hours,
int minutes,
TimeConvention convention)
- Parameters:
hours - minutes - convention -
getHours
public int getHours()
- Returns the hours.
- Returns:
- the hours
getMinutes
public int getMinutes()
- Returns the minutes.
- Returns:
- the minutes
getConvention
public TimeConvention getConvention()
- Returns the time convention.
- Returns:
- the convention
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2013. All rights reserved.