Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change javadoc for arrival & departure time #88

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ public boolean isArrivalTimeSet() {
}

/**
* @return arrival time, in seconds since midnight
* @return arrival time, in seconds since "noon minus 12h" (effectively midnight, except for days on which daylight
* savings time changes occur) at the beginning of the service date
*/
public int getArrivalTime() {
if (proxy != null) {
Expand Down Expand Up @@ -191,7 +192,8 @@ public boolean isDepartureTimeSet() {
}

/**
* @return departure time, in seconds since midnight
* @return departure time, in seconds since "noon minus 12h" (effectively midnight, except for days on which daylight
* savings time changes occur) at the beginning of the service date
*/
public int getDepartureTime() {
if (proxy != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ public final class ServiceInterval implements Serializable {

/**
*
* @param arrival arrival time in seconds since midnight
* @param departure departure time in seconds since midnight
* @param arrival arrival time in seconds since "noon minus 12h" (effectively midnight, except for days on which
* daylight savings time changes occur) at the beginning of the service date
* @param departure departure time in seconds since "noon minus 12h" (effectively midnight, except for days on which
* daylight savings time changes occur) at the beginning of the service date
*/
public ServiceInterval(int arrival, int departure) {
this(arrival, departure, arrival, departure);
Expand All @@ -58,31 +60,35 @@ public ServiceInterval(int minArrival, int minDeparture, int maxArrival,

/**
*
* @return min arrival time in seconds since midnight
* @return min arrival time in seconds since "noon minus 12h" (effectively midnight, except for days on which daylight
* savings time changes occur) at the beginning of the service date
*/
public int getMinArrival() {
return minArrival;
}

/**
*
* @return min departure time in seconds since midnight
* @return min departure time in seconds since "noon minus 12h" (effectively midnight, except for days on which
* daylight savings time changes occur) at the beginning of the service date
*/
public int getMinDeparture() {
return minDeparture;
}

/**
*
* @return max arrival time in seconds since midnight
* @return max arrival time in seconds since "noon minus 12h" (effectively midnight, except for days on which
* daylight savings time changes occur) at the beginning of the service date
*/
public int getMaxArrival() {
return maxArrival;
}

/**
*
* @return max departure time in seconds since midnight
* @return max departure time in seconds since "noon minus 12h" (effectively midnight, except for days on which
* daylight savings time changes occur) at the beginning of the service date
*/
public int getMaxDeparture() {
return maxDeparture;
Expand Down