Skip to content

Commit

Permalink
Addressing code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
chipkent committed Nov 20, 2023
1 parent 796651c commit bfa59f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ private static File inputStreamToFile(@NotNull InputStream inputStream) throws I
// region Methods

/**
* Sets the default calendar name.
* Sets the default calendar by name. The calendar must already be present in the collection.
*
* @see #calendar() to get the default calendar
* @see #calendarName() to get the name of the default calendar
* @param name calendar name
*/
public synchronized static void setCalendar(final String name) {
Expand Down Expand Up @@ -204,6 +206,8 @@ public synchronized static BusinessCalendar calendar(final String name) {
/**
* Returns the default business calendar.
*
* @see #setCalendar(String) to set the default calendar
* @see #calendarName() to get the name of the default calendar
* @return default business calendar. The default is specified by the {@code Calendar.default} property or
* {@link #setCalendar(String)}.
*/
Expand All @@ -212,9 +216,11 @@ public synchronized static BusinessCalendar calendar() {
}

/**
* Returns the default business calendar name.
* Returns the name of the default business calendar.
*
* @return default business calendar name. The default is specified by the {@code Calendar.default} property or
* @see #setCalendar(String) to set the default calendar
* @see #calendar() to get the default calendar
* @return name of the default business calendar. The default is specified by the {@code Calendar.default} property or
* {@link #setCalendar(String)}.
*/
public synchronized static String calendarName() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
* Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.time.calendar;

Expand Down

0 comments on commit bfa59f8

Please sign in to comment.