-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from SchweizerischeBundesbahnen/fix/gtfs-format
Fix/gtfs format
- Loading branch information
Showing
13 changed files
with
572 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/main/java/ch/sbb/pfi/netzgrafikeditor/converter/adapter/gtfs/model/FeedInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package ch.sbb.pfi.netzgrafikeditor.converter.adapter.gtfs.model; | ||
|
||
import lombok.Builder; | ||
import lombok.Value; | ||
|
||
import java.time.LocalDate; | ||
import java.time.LocalDateTime; | ||
|
||
@Value | ||
@Builder | ||
public class FeedInfo { | ||
|
||
public static final LocalDate DEFAULT_START_DATE = LocalDate.of(1970, 1, 1); | ||
public static final LocalDate DEFAULT_END_DATE = LocalDate.of(2099, 12, 31); | ||
|
||
@Builder.Default | ||
String feedPublisherName = "Netzgrafik Editor Converter"; | ||
|
||
@Builder.Default | ||
String feedPublisherUrl = "https://github.com/SchweizerischeBundesbahnen/netzgrafik-editor-converter"; | ||
|
||
@Builder.Default | ||
String feedLang = "en"; | ||
|
||
@Builder.Default | ||
LocalDate feedStartDate = DEFAULT_START_DATE; | ||
|
||
@Builder.Default | ||
LocalDate feedEndDate = DEFAULT_END_DATE; | ||
|
||
@Builder.Default | ||
LocalDateTime feedVersion = LocalDateTime.now(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.