util.ui

## Class TimeFormatter

- java.lang.Object
- - util.ui.TimeFormatter

-     public class TimeFormatter
      extends java.lang.Object

  Formats a Time to a String.
  Author:
    bodum

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimeFormatter()` Use Format from the Settings
    `TimeFormatter(java.lang.String format)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.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`

- - ### Constructor Detail

    - #### TimeFormatter

          public TimeFormatter()

      Use Format from the Settings

    - #### TimeFormatter

          public TimeFormatter(java.lang.String format)

      Parameters:
        `format` - Format to use. See `SimpleDateFormat`.

  - ### Method Detail

    - #### formatTime

          public java.lang.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 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)