Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
214 additions
and
328 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/main/java/com/github/scompo/walkstats/DegreesConstants.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
src/main/java/com/github/scompo/walkstats/DistanceComputationStrategy.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/java/com/github/scompo/walkstats/LatitudeConstants.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/java/com/github/scompo/walkstats/LongitudeConstants.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
src/main/java/com/github/scompo/walkstats/SpeedComputationStrategy.java
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
src/main/java/com/github/scompo/walkstats/TimeDifference.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
src/main/java/com/github/scompo/walkstats/WalksRepository.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
src/main/java/com/github/scompo/walkstats/domain/GeographicConstants.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,31 @@ | ||
package com.github.scompo.walkstats.domain; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public class GeographicConstants { | ||
|
||
/** | ||
* Minimum value for longitude. | ||
*/ | ||
public static final BigDecimal MIN_LONGITUDE = BigDecimal.valueOf(-180); | ||
|
||
/** | ||
* Maximum value for longitude. | ||
*/ | ||
public static final BigDecimal MAX_LONGITUDE = BigDecimal.valueOf(180); | ||
|
||
/** | ||
* Minimum value for latitude. | ||
*/ | ||
public static final BigDecimal MIN_LATITUDE = BigDecimal.valueOf(-90); | ||
|
||
/** | ||
* Maximum value for latitude. | ||
*/ | ||
public static final BigDecimal MAX_LATITUDE = BigDecimal.valueOf(90); | ||
|
||
private GeographicConstants() { | ||
|
||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...va/com/github/scompo/walkstats/Timed.java → ...github/scompo/walkstats/domain/Timed.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.github.scompo.walkstats; | ||
package com.github.scompo.walkstats.domain; | ||
|
||
import java.time.Instant; | ||
|
||
|
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.