net.sf.jour.statistic
Class MillisecondsPeriod

java.lang.Object
  extended byorg.jfree.data.time.RegularTimePeriod
      extended bynet.sf.jour.statistic.MillisecondsPeriod
All Implemented Interfaces:
java.lang.Comparable, org.jfree.date.MonthConstants, org.jfree.data.time.TimePeriod

public class MillisecondsPeriod
extends org.jfree.data.time.RegularTimePeriod

TODO Add docs Created on 14.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.1 $ ($Author: vlads $) $Date: 2004/12/14 06:48:15 $
Author:
root

Field Summary
 
Fields inherited from class org.jfree.data.time.RegularTimePeriod
DEFAULT_TIME_ZONE, WORKING_CALENDAR
 
Fields inherited from interface org.jfree.date.MonthConstants
APRIL, AUGUST, DECEMBER, FEBRUARY, JANUARY, JULY, JUNE, MARCH, MAY, NOVEMBER, OCTOBER, SEPTEMBER
 
Constructor Summary
MillisecondsPeriod(java.util.Date time, long period)
          Constructs a millisecond.
MillisecondsPeriod(long period)
          Constructs a millisecond based on the current system time.
MillisecondsPeriod(long millisecond, long period)
          Constructs a millisecond.
 
Method Summary
 int compareTo(java.lang.Object o1)
           
 boolean equals(java.lang.Object object)
           
 long getFirstMillisecond(java.util.Calendar calendar)
           
 long getLastMillisecond(java.util.Calendar calendar)
           
 long getSerialIndex()
           
 org.jfree.data.time.RegularTimePeriod next()
           
 org.jfree.data.time.RegularTimePeriod previous()
           
 
Methods inherited from class org.jfree.data.time.RegularTimePeriod
createInstance, downsize, getEnd, getFirstMillisecond, getFirstMillisecond, getLastMillisecond, getLastMillisecond, getMiddleMillisecond, getMiddleMillisecond, getMiddleMillisecond, getStart, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MillisecondsPeriod

public MillisecondsPeriod(long period)
Constructs a millisecond based on the current system time.


MillisecondsPeriod

public MillisecondsPeriod(long millisecond,
                          long period)
Constructs a millisecond.

Parameters:
millisecond - the millisecond (same encoding as java.util.Date).

MillisecondsPeriod

public MillisecondsPeriod(java.util.Date time,
                          long period)
Constructs a millisecond.

Parameters:
time - the time.
Method Detail

previous

public org.jfree.data.time.RegularTimePeriod previous()

next

public org.jfree.data.time.RegularTimePeriod next()

equals

public boolean equals(java.lang.Object object)

getSerialIndex

public long getSerialIndex()

getFirstMillisecond

public long getFirstMillisecond(java.util.Calendar calendar)

getLastMillisecond

public long getLastMillisecond(java.util.Calendar calendar)

compareTo

public int compareTo(java.lang.Object o1)


Copyright © 2004 sourceforge. All Rights Reserved.