JComponentPack 1.5.0

com.zfqjava.formula
Class CellUtils

java.lang.Object
  extended by com.zfqjava.formula.CellUtils

public class CellUtils
extends Object


Constructor Summary
CellUtils()
           
 
Method Summary
static Date asDate(double d)
           
static Date asTime(double d)
           
static boolean booleanValue(Object o)
           
static double doubleValue(Object o)
           
static com.zfqjava.formula.CellArray getArray(Object o)
           
static Boolean getBoolean(Object o)
           
static Date getDate(Object o)
           
static CellException getException(Object o)
           
static Number getNumber(Object o)
           
static Object getObject(Object o)
           
static Object getObject(Object o, FormulaContext context)
           
static CellReference getReference(Object o)
           
static String getString(Object o)
           
static boolean isArray(Object o)
           
static boolean isBoolean(Object o)
           
static boolean isDate(Object o)
           
static boolean isException(Object o)
           
static boolean isNumber(Object o)
           
static boolean isReference(Object o)
           
static boolean isString(Object o)
           
static Date parseDate(String s)
           
static Date parseDateTime(String s)
           
static Date parseTime(String s)
           
static String stringValue(Object o)
           
static String toString(Object value, FormulaContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellUtils

public CellUtils()
Method Detail

toString

public static String toString(Object value,
                              FormulaContext context)

booleanValue

public static boolean booleanValue(Object o)

doubleValue

public static double doubleValue(Object o)

stringValue

public static String stringValue(Object o)

isString

public static boolean isString(Object o)

isBoolean

public static boolean isBoolean(Object o)

isNumber

public static boolean isNumber(Object o)

isDate

public static boolean isDate(Object o)

isException

public static boolean isException(Object o)

isReference

public static boolean isReference(Object o)

isArray

public static boolean isArray(Object o)

getNumber

public static Number getNumber(Object o)

getString

public static String getString(Object o)

getDate

public static Date getDate(Object o)

getBoolean

public static Boolean getBoolean(Object o)

getException

public static CellException getException(Object o)

getReference

public static CellReference getReference(Object o)

getArray

public static com.zfqjava.formula.CellArray getArray(Object o)

getObject

public static Object getObject(Object o)

getObject

public static Object getObject(Object o,
                               FormulaContext context)

asTime

public static Date asTime(double d)

asDate

public static Date asDate(double d)

parseDate

public static Date parseDate(String s)

parseTime

public static Date parseTime(String s)

parseDateTime

public static Date parseDateTime(String s)

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.