CloneSet1184


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.958class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119231
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/RegularTimePeriod.java
216277
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/RegularTimePeriod.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
231
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/RegularTimePeriod.java

/**
 * Returns the first millisecond of the time period, evaluated within a 
 * specific time zone.
 *
 * @param zone  the time zone (<code>null</code> not permitted).
 *
 * @return The first millisecond of the time period.
 * 
 * @deprecated As of 1.0.3, you should avoid using this method (it creates
 *     a new Calendar instance every time it is called).  You are advised
 *     to call {@link #getFirstMillisecond(Calendar)} instead.
 *     
 * @see #getLastMillisecond(TimeZone)
 */
public long getFirstMillisecond(TimeZone zone) {
  Calendar calendar = Calendar.getInstance(zone);
  return getFirstMillisecond(calendar);
}

/**
 * Returns the first millisecond of the time period, evaluated using the 
 * supplied calendar (which incorporates a timezone).
 *
 * @param calendar  the calendar (<code>null</code> not permitted).
 *
 * @return The first millisecond of the time period.
 * 
 * @throws NullPointerException if <code>calendar,/code> is 
 *     </code>null</code>.
 *     
 * @see #getLastMillisecond(Calendar)
 */
public abstract long getFirstMillisecond(Calendar calendar);


First
Previous
Clone Instance
2
Line Count
16
Source Line
277
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/RegularTimePeriod.java

/**
 * Returns the last millisecond of the time period, evaluated within a 
 * specific time zone.
 *
 * @param zone  the time zone (<code>null</code> not permitted).
 *
 * @return The last millisecond of the time period.
 * 
 * @deprecated As of 1.0.3, you should avoid using this method (it creates
 *     a new Calendar instance every time it is called).  You are advised
 *     to call {@link #getLastMillisecond(Calendar)} instead.
 *     
 * @see #getFirstMillisecond(TimeZone)
 */
public long getLastMillisecond(TimeZone zone) {
  Calendar calendar = Calendar.getInstance(zone);
  return getLastMillisecond(calendar);
}

/**
 * Returns the last millisecond of the time period, evaluated using the 
 * supplied calendar (which incorporates a timezone).
 *
 * @param calendar  the calendar (<code>null</code> not permitted).
 *
 * @return The last millisecond of the time period.
 * 
 * @see #getFirstMillisecond(Calendar)
 */
public abstract long getLastMillisecond(Calendar calendar);


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns the first millisecond of the time period, evaluated within a 
     * specific time zone.
     *
     * @param zone  the time zone (<code>null</code> not permitted).
     *
     * @return The first millisecond of the time period.
     * 
     * @deprecated As of 1.0.3, you should avoid using this method (it creates
     *     a new Calendar instance every time it is called).  You are advised
     *     to call {@link #getFirstMillisecond(Calendar)} instead.
     *     
     * @see #getLastMillisecond(TimeZone)
     */
/**
     * Returns the last millisecond of the time period, evaluated within a 
     * specific time zone.
     *
     * @param zone  the time zone (<code>null</code> not permitted).
     *
     * @return The last millisecond of the time period.
     * 
     * @deprecated As of 1.0.3, you should avoid using this method (it creates
     *     a new Calendar instance every time it is called).  You are advised
     *     to call {@link #getLastMillisecond(Calendar)} instead.
     *     
     * @see #getFirstMillisecond(TimeZone)
     */
public long  [[#variable18ed1c80]](TimeZone zone) {
  Calendar calendar = Calendar.getInstance(zone);
  return [[#variable18ed1c80]](calendar);
}

/**
     * Returns the first millisecond of the time period, evaluated using the 
     * supplied calendar (which incorporates a timezone).
     *
     * @param calendar  the calendar (<code>null</code> not permitted).
     *
     * @return The first millisecond of the time period.
     * 
     * @throws NullPointerException if <code>calendar,/code> is 
     *     </code>null</code>.
     *     
     * @see #getLastMillisecond(Calendar)
     */
/**
     * Returns the last millisecond of the time period, evaluated using the 
     * supplied calendar (which incorporates a timezone).
     *
     * @param calendar  the calendar (<code>null</code> not permitted).
     *
     * @return The last millisecond of the time period.
     * 
     * @see #getFirstMillisecond(Calendar)
     */
public abstract long  [[#variable18ed1c80]](Calendar calendar);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ed1c80]]
getFirstMillisecond 
12[[#18ed1c80]]
getLastMillisecond