Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Aug 20, 2011
1 parent cf7119d commit c28a18c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/javax/time/calendar/DateTimeFields.java
Expand Up @@ -471,7 +471,7 @@ public boolean matchesCalendrical(Calendrical calendrical) {
* The comparison is based on the complete set of fields.
*
* @param obj the object to check, null returns false
* @return true if this is equal to the other fields
* @return true if this is equal to the other set of fields
*/
@Override
public boolean equals(Object obj) {
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/javax/time/calendar/PeriodFields.java
Expand Up @@ -999,7 +999,7 @@ public Duration toDuration() {

//-----------------------------------------------------------------------
/**
* Returns a {@code Map} equivalent to this period.
* Returns a {@code Map} equivalent to this set of fields.
* <p>
* The map will connect the unit to the single field period.
* The sort order is from largest unit to smallest unit.
Expand All @@ -1022,12 +1022,12 @@ public PeriodFields toPeriodFields() {

//-----------------------------------------------------------------------
/**
* Checks if this set of period fields is equal to another set of period fields.
* Checks if this set of fields is equal to another set of fields.
* <p>
* The comparison is based on the complete set of fields.
*
* @param obj the object to check, null returns false
* @return true if this is equal to the other set of period fields
* @return true if this is equal to the other set of fields
*/
@Override
public boolean equals(Object obj) {
Expand All @@ -1042,7 +1042,7 @@ public boolean equals(Object obj) {
}

/**
* A hash code for this period.
* A hash code for this set of fields.
*
* @return a suitable hash code
*/
Expand All @@ -1053,7 +1053,7 @@ public int hashCode() {

//-----------------------------------------------------------------------
/**
* Outputs this set of period fields as a {@code String}, such as {@code [6 Days, 13 Hours]}.
* Outputs this set of fields as a {@code String}, such as {@code [6 Days, 13 Hours]}.
* <p>
* The output will include of the complete set of fields.
*
Expand Down

0 comments on commit c28a18c

Please sign in to comment.