| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
class TimeSpan(private dt : Either[DateTime, Duration])
extends
ConvertableToDate with ScalaObject
def this(ms : Long)
[details]
|
def this(dt : Either[DateTime, Duration])
|
| ago.. |
def ago
[details]
|
TimeSpan | |
| date.. |
def date
|
Date | |
| later.. |
def later
[details]
|
TimeSpan | |
| millis.. |
def millis
|
Long | |
| noTime.. |
def noTime
|
Date | |
| toDate.. |
def toDate
Convert to a Date
|
Date | |
| toDateTime.. |
def toDateTime
Convert to a JodaTime DateTime
|
DateTime | |
| toMillis.. |
def toMillis
|
Long |
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| +.. |
def +[B](in : B)(implicit f : (B) => TimeSpan)
[details]
|
TimeSpan | |
| -.. |
def -[B](in : B)(implicit f : (B) => TimeSpan)
[details]
|
TimeSpan | |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| clone.. |
protected def clone
|
Object | AnyRef |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
override def equals(cmp : Any)
override the equals method so that TimeSpans can be compared to long, int and TimeSpan
|
Boolean | |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| plus.. |
def plus[B](in : B)(implicit f : (B) => TimeSpan)
[details]
|
TimeSpan | |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString.. |
override def toString
override the toString method to display a readable amount of time
|
String | |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |