public class Time extends Object
| Constructor and Description |
|---|
Time(int hours,
int minutes,
TimeConvention convention) |
| Modifier and Type | Method and Description |
|---|---|
TimeConvention |
getConvention()
Returns the time convention.
|
int |
getHours()
Returns the hours.
|
int |
getMinutes()
Returns the minutes.
|
String |
toString() |
public Time(int hours,
int minutes,
TimeConvention convention)
hours - minutes - convention - public int getHours()
public int getMinutes()
public TimeConvention getConvention()
Copyright © 2016. All rights reserved.