Skip to content

Commit

Permalink
Fix javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Haraldsen committed Dec 28, 2023
1 parent 59876b1 commit 57cec18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
7 changes: 1 addition & 6 deletions src/main/java/com/ethlo/time/DateTime.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public static DateTime of(int year, int month, int day, int hour, int minute, in
* @param second second
* @param nanos nanos
* @param offset timezone offset
* @param fractionDigits The granularity of the fractional seconds field
* @return A DateTime with nanosecond granularity
*/
public static DateTime of(int year, int month, int day, int hour, int minute, int second, int nanos, TimezoneOffset offset, final int fractionDigits)
Expand Down Expand Up @@ -429,9 +430,6 @@ public String toString()
return fractionDigits > 0 ? toString(fractionDigits) : toString(field);
}

/**
* * @hidden
*/
@Override
public boolean equals(final Object o)
{
Expand All @@ -456,9 +454,6 @@ public boolean equals(final Object o)
&& Objects.equals(offset, dateTime.offset);
}

/**
* @hidden
*/
@Override
public int hashCode()
{
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/ethlo/time/TimezoneOffset.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ public ZoneOffset toZoneOffset()
return ZoneOffset.ofHoursMinutes(hours, minutes);
}

/**
* @hidden
*/
@Override
public boolean equals(final Object o)
{
Expand All @@ -104,9 +101,6 @@ public boolean equals(final Object o)
return hours == that.hours && minutes == that.minutes;
}

/**
* @hidden
*/
@Override
public int hashCode()
{
Expand Down

0 comments on commit 57cec18

Please sign in to comment.