Skip to content

Commit 54952c7

Browse files
committed
Update docs for transitServiceStart/End to suggest large period instead of empty string
1 parent 68d928c commit 54952c7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

application/src/main/java/org/opentripplanner/standalone/config/BuildConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ to check in to a flight (2-3 hours for international flights) than to alight and
414414
will not be part of the graph. Use an absolute date or a period relative to the date the graph is
415415
build(BUILD_DAY).
416416
417-
Use an empty string to make unbounded.
417+
To get an effectively unbounded value, use a very large period like `"-P100Y"`.
418418
"""
419419
)
420420
.asDateOrRelativePeriod("-P1Y", confZone);
@@ -430,7 +430,7 @@ to check in to a flight (2-3 hours for international flights) than to alight and
430430
will not be part of the graph. Use an absolute date or a period relative to the date the graph is
431431
build(BUILD_DAY).
432432
433-
Use an empty string to make it unbounded.
433+
To get an effectively unbounded value, use a very large period like `"P100Y"`.
434434
"""
435435
)
436436
.asDateOrRelativePeriod("P3Y", confZone);

doc/user/BuildConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ The date is inclusive. If set, any transit service on a day AFTER the given date
593593
will not be part of the graph. Use an absolute date or a period relative to the date the graph is
594594
build(BUILD_DAY).
595595

596-
Use an empty string to make it unbounded.
596+
To get an effectively unbounded value, use a very large period like `"P100Y"`.
597597

598598

599599
<h3 id="transitServiceStart">transitServiceStart</h3>
@@ -609,7 +609,7 @@ The date is inclusive. If set, any transit service on a day BEFORE the given dat
609609
will not be part of the graph. Use an absolute date or a period relative to the date the graph is
610610
build(BUILD_DAY).
611611

612-
Use an empty string to make unbounded.
612+
To get an effectively unbounded value, use a very large period like `"-P100Y"`.
613613

614614

615615
<h3 id="writeCachedElevations">writeCachedElevations</h3>

0 commit comments

Comments
 (0)