org.openmrs.util
Class Format

java.lang.Object
  extended by org.openmrs.util.Format

public class Format
extends java.lang.Object


Nested Class Summary
static class Format.FORMAT_TYPE
           
 
Constructor Summary
Format()
           
 
Method Summary
static java.lang.String format(java.util.Date date)
           
static java.lang.String format(java.util.Date date, Format.FORMAT_TYPE type)
           
static java.lang.String format(java.util.Date date, java.util.Locale locale, Format.FORMAT_TYPE type)
           
static java.lang.String format(double d)
           
static java.lang.String format(java.lang.Double d)
           
static java.lang.String format(java.lang.Throwable t)
           
static java.lang.String formatPercentage(double pct)
           
static java.lang.String formatPercentage(java.lang.Number pct)
           
static java.lang.String formatTextBoxDate(java.util.Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Format

public Format()
Method Detail

formatPercentage

public static java.lang.String formatPercentage(double pct)

formatPercentage

public static java.lang.String formatPercentage(java.lang.Number pct)

format

public static java.lang.String format(double d)

format

public static java.lang.String format(java.lang.Double d)

formatTextBoxDate

public static java.lang.String formatTextBoxDate(java.util.Date date)

format

public static java.lang.String format(java.util.Date date)

format

public static java.lang.String format(java.util.Date date,
                                      Format.FORMAT_TYPE type)

format

public static java.lang.String format(java.util.Date date,
                                      java.util.Locale locale,
                                      Format.FORMAT_TYPE type)

format

public static java.lang.String format(java.lang.Throwable t)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change