pl.kernelpanic.dbmonster.util
Class Converter

java.lang.Object
  extended by pl.kernelpanic.dbmonster.util.Converter

public final class Converter
extends Object

Converter.

Version:
$Id: Converter.java,v 1.2 2006/01/05 16:29:37 majek Exp $
Author:
Piotr Maj <pm@jcake.com>

Method Summary
static int checkNulls(int nulls)
          Check whether nulls is in range of 0 <= nulls <= 100
static String formatTime(long ms)
          Formats the period.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

formatTime

public static String formatTime(long ms)
Formats the period.

Parameters:
ms - millis
Returns:
formatted time

checkNulls

public static int checkNulls(int nulls)
Check whether nulls is in range of 0 <= nulls <= 100

Parameters:
nulls - nulls.
Returns:
proper nulls


Copyright © 2003-2006 .:. kernelpanic.pl .:.. All Rights Reserved.