Skip to content

Commit

Permalink
flighdata-skyalps-gtfs: add seconds to stop_times.txt to fit HH:MM:SS…
Browse files Browse the repository at this point in the history
… format
  • Loading branch information
dulvui committed Jan 23, 2024
1 parent cc87964 commit ee99e67
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,17 @@ public String getArrival_time() {
}

public void setArrival_time(String arrival_time) {
this.arrival_time = arrival_time;
// well, not nice, but this solves the needed formatting of HH:MM:SS
this.arrival_time = arrival_time + ":00";
}

public String getDeparture_time() {
return departure_time;
}

public void setDeparture_time(String departure_time) {
this.departure_time = departure_time;
// well, not nice, but this solves the needed formatting of HH:MM:SS
this.departure_time = departure_time + ":00";
}

public String getStop_id() {
Expand All @@ -58,5 +60,4 @@ public String toString() {
+ departure_time + ", stop_id=" + stop_id + ", stop_sequence=" + stop_sequence + "]";
}


}

0 comments on commit ee99e67

Please sign in to comment.