com.groiss.reporting.data
Interface TimeModel


public interface TimeModel

This interface must be supported if another calculation of time intervals is desired
Note: a implementing class must support a constructor without parameters


Method Summary
 long getInterval(java.util.Date start, java.util.Date end)
          calculates the time interval
 java.lang.String getModelName()
          returns the Name of the Model for HTML purpose
 

Method Detail

getInterval

long getInterval(java.util.Date start,
                 java.util.Date end)
calculates the time interval

Parameters:
start - the start date of the interval
end - the end date of the interval
Returns:
the calculated interval im milliseconds

getModelName

java.lang.String getModelName()
returns the Name of the Model for HTML purpose

Returns:
the I18N string represent of this timemodel


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.