public class ScreenOffTime extends Object
| Constructor and Description |
|---|
ScreenOffTime() |
ScreenOffTime(int min,
int sec) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinute()
Returns Minutes.
|
int |
getSecond()
Returns Seconds.
|
void |
setMinute(int min)
Set Minutes.
|
void |
setSecond(int sec)
Set Seconds.
|
String |
toString() |
public ScreenOffTime()
public ScreenOffTime(int min,
int sec)
public void setMinute(int min)
min - The Minutes to set.public void setSecond(int sec)
sec - The Seconds to set.public int getMinute()
public int getSecond()