railo.runtime.type.dt
Interface TimeSpan

All Superinterfaces:
Castable, Dumpable, Serializable
All Known Implementing Classes:
TimeSpanImpl

public interface TimeSpan
extends Castable, Dumpable, Serializable

defines a time span


Method Summary
 int getDay()
           
 int getHour()
           
 long getMillis()
           
 int getMinute()
           
 int getSecond()
           
 long getSeconds()
           
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 

Method Detail

getMillis

long getMillis()
Returns:
returns the timespan in milliseconds

getSeconds

long getSeconds()
Returns:
returns the timespan in seconds

getDay

int getDay()
Returns:
Returns the day value.

getHour

int getHour()
Returns:
Returns the hour value.

getMinute

int getMinute()
Returns:
Returns the minute value.

getSecond

int getSecond()
Returns:
Returns the second value.


Copyright © 2012 Railo