Browse files

Clarify documentation of Period.compareTo

The definition of "greater" was ambiguous (longer period?  later start?
later end?); this documentation improves it.
  • Loading branch information...
mernst committed Apr 16, 2016
1 parent e6e26e7 commit 9dec808b2c83e99eafe70edc567581e5d8187abe
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/net/fortuna/ical4j/model/
@@ -313,6 +313,7 @@ public final String toString() {
* Compares the specified period with this period.
+ * First, compare the start dates. If they are the same, compare the end dates.
* @param arg0 a period to compare with this one
* @return a postive value if this period is greater, negative if the other is

0 comments on commit 9dec808

Please sign in to comment.