util.ui
Class TimeFormatter
java.lang.Object
util.ui.TimeFormatter
public class TimeFormatter
- extends Object
Formats a Time to a String.
- Author:
- bodum
|
Method Summary |
String |
formatTime(int hours,
int minutes)
Converts a Time into a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeFormatter
public TimeFormatter()
- Use Format from the Settings
TimeFormatter
public TimeFormatter(String format)
- Parameters:
format - Format to use. See SimpleDateFormat.
formatTime
public String formatTime(int hours,
int minutes)
- Converts a Time into a String.
- Parameters:
hours - Hour (24-Hour-Format!)minutes - Minutes
- Returns:
- String representation
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)