edu.nrao.sss.util
Class SchedulingUtil

java.lang.Object
  extended by edu.nrao.sss.util.SchedulingUtil

public class SchedulingUtil
extends Object


Method Summary
static float formatPercent(double value, int digitCount, int decimalCount)
           
static String fromCollection(Collection<?> source, String separator)
           
static float nearestHalf(double value, boolean roundUp)
           
static Collection<String> toCollection(String source, String separator, Collection<String> destination)
           
static void writeDebugFile(String xmlStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

formatPercent

public static float formatPercent(double value,
                                  int digitCount,
                                  int decimalCount)

nearestHalf

public static float nearestHalf(double value,
                                boolean roundUp)

writeDebugFile

public static void writeDebugFile(String xmlStr)

fromCollection

public static String fromCollection(Collection<?> source,
                                    String separator)

toCollection

public static Collection<String> toCollection(String source,
                                              String separator,
                                              Collection<String> destination)


Copyright © 2009. All Rights Reserved.