Original commit message

ChangeScribe message

Removed SegmentedTimeline

BUG - FEATURE: <type-ID>


This is a degenerate modifier commit: this change set is composed of empty, incidental, and abstract methods. These methods indicate that a new feature is planned. This change set is mainly composed of:


1. Changes to package org.jfree.chart.axis:


1.1. Modifications to DateAxis.java:


1.1.1. Remove assignment statement of shift at selectHorizontalAutoTickUnit(Graphics2D,Rectangle2D,RectangleEdge) method

1.1.2. Remove if statement at selectHorizontalAutoTickUnit(Graphics2D,Rectangle2D,RectangleEdge) method

1.1.3. Remove line comment at autoAdjustRange() method

1.1.4. Remove assignment statement of r at autoAdjustRange() method

1.1.5. Remove else part of (this.timeline instanceof SegmentedTimeline) condition

1.1.6. Remove if statement at autoAdjustRange() method


1.2. Remove a Cloneable, Serializable implementation for segmented timeline. It allows to:


Instantiate segmented timeline;

First Monday after 1900;

Handle new Monday through Friday timeline;

Handle new fifteen minute timeline;

Get adjust for daylight saving;

Set adjust for daylight saving;

Set start time;

Get start time;

Get segments excluded;

Get segments excluded size;

Get group segment count;

Get segments group size;

Get segments included;

Get segments included size;

Get segment size;

Get exception segments;

Set exception segments;

Get base timeline;

Set base timeline;

Convert segmented timeline to timeline value;

Convert segmented timeline to millisecond;

Get time from long;

Check if segmented timeline contains domain value;

Check if segmented timeline contains domain range;

Add exception;

Add exceptions;

Add base timeline exception;

Add base timeline exclusions;

Get exception segment count;

Get segment;

Check if segmented timeline equals;

Hash code;

Handle binary search exception segments;

Get time;

Get date;

Clone segmented timeline;


Was referenced by:

Referenced in comments of DateAxis class


2. Changes to package org.jfree.chart.axis.junit:


2.1. Modifications to AxisPackageTests.java:


2.1.1. Remove method invocation to add test suite at suite() method


2.2. Modifications to DateAxisTest.java:


2.2.1. Remove line comment at testEquals() method

2.2.2. Remove method invocation to set timeline at testEquals() method

2.2.3. Remove method invocation to assert false at testEquals() method

2.2.4. Remove method invocation to assert true at testEquals() method

2.2.5. Remove an unused functionality to test bug 3484403


2.3. Remove a class for segmented timeline test. It allows to:


Get suite;

Instantiate segmented timeline test;

Set segmented timeline test;

Tear segmented timeline test;

Handle test ms segmented timeline;

Convert test ms;

Handle test Monday through Friday segmented timeline;

Handle test fifteen min segmented timeline;

Handle test ms segment;

Handle test Monday through Friday segment;

Handle test fifteen min segment;

Verify one segment;

Handle test ms inc;

Handle test Monday through Friday inc;

Handle test fifteen min inc;

Verify inc;

Handle test ms included and excluded segments;

Handle test Monday through Friday included and excluded segments;

Handle test fifteen min included and excluded segments;

Verify included and excluded segments;

Handle test ms exception segments;

Handle test Monday though Friday exception segments;

Handle test fifteen min exception segments;

Verify exception segments;

Handle test ms translations;

Handle text Monday through Friday translations;

Handle test fifteen min translations;

Verify translations;

Handle test serialization;

Verify serialization;

Verify fill in exceptions;

Fill segmented timeline in base timeline exceptions;

Fill segmented timeline in base timeline exclusions as exceptions;

Handle test cloning;

Handle test equals;

Handle test hash code;

Convert test serialization;

Handle test basic segmented timeline;

Handle test segmented timeline with exception 1;

Handle main


2.4. Remove a boundary class for segmented timeline tests. It allows to:


Instantiate segmented timeline tests;

Handle test 1;

Convert test;

Handle test 3;

Test segmented timeline tests;

Handle test 5;

Handle test 6;

Handle test 7;

Get timeline;