|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.accpac.sm.crystal.ufl.AbstractAccpacFormulaFunction
com.sage.accpac.sm.crystal.ufl.PwFormatTime
public final class PwFormatTime
PwFormatTime (in the C version the "pw" is lower-case) converts a Sage ERP Accpac time stored as an HHMMSShh integer into a Crystal Reports time object but ignoring the "hundredths of a second" part (in order to match the behavior of the existing C UFL).
The Crystal arguments to this function are:
Valid hours go from 0 to 23. Valid minutes go from 0 to 59. Valid seconds go
from 0 to 59. Valid times go from 0 (midnight) to 23595999 (11:59:59 PM, with
the "99" part ignored). An invalid time (such as 24000000) causes an
IllegalArgumentException
.
Constructor Summary | |
---|---|
PwFormatTime()
|
Method Summary | |
---|---|
com.crystaldecisions.reports.common.value.FormulaValue |
evaluate(com.crystaldecisions.reports.formulas.FormulaValueReference[] arguments)
|
com.crystaldecisions.reports.formulas.FormulaFunctionArgumentDefinition[] |
getArguments()
|
java.lang.String |
getIdentifier()
|
com.crystaldecisions.reports.common.value.FormulaValueType |
getReturnType()
|
Methods inherited from class com.sage.accpac.sm.crystal.ufl.AbstractAccpacFormulaFunction |
---|
getIntegerArgument, getStringArgument, validateArgumentValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PwFormatTime()
Method Detail |
---|
public java.lang.String getIdentifier()
public com.crystaldecisions.reports.common.value.FormulaValueType getReturnType()
public com.crystaldecisions.reports.formulas.FormulaFunctionArgumentDefinition[] getArguments()
public com.crystaldecisions.reports.common.value.FormulaValue evaluate(com.crystaldecisions.reports.formulas.FormulaValueReference[] arguments) throws com.crystaldecisions.reports.formulas.FormulaFunctionCallException
com.crystaldecisions.reports.formulas.FormulaFunctionCallException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |