scalax.data

class IntExtras

[source: scalax/data/IntExtras.scala]

class IntExtras(i : Int)
extends AnyRef
Method Summary
def days : Long
def hours : Long
def minutes : Long
def months : Long
Returns the number of milliseconds in this number of months, where a month is taken to be one twelfth of an average year.
def seconds : Long
def weeks : Long
def years : Long
Returns the number of milliseconds in this number if years, where a year is taken to be 31556952 seconds, which is the average length of a year in the Gregorian calendar.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def seconds : Long

def minutes : Long

def hours : Long

def days : Long

def weeks : Long

def months : Long
Returns the number of milliseconds in this number of months, where a month is taken to be one twelfth of an average year.

def years : Long
Returns the number of milliseconds in this number if years, where a year is taken to be 31556952 seconds, which is the average length of a year in the Gregorian calendar.


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.