mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 09:26:44 +00:00
added declination project contents
This commit is contained in:
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+1
@@ -7,3 +7,4 @@ Bundle-Vendor: SAP
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Require-Bundle: com.sap.sailing.domain
|
||||
Export-Package: com.sap.sailing.declination
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Executable
+42
@@ -0,0 +1,42 @@
|
||||
package com.sap.sailing.declination.impl;
|
||||
|
||||
import com.sap.sailing.declination.DeclinationRecord;
|
||||
import com.sap.sailing.domain.base.Bearing;
|
||||
import com.sap.sailing.domain.base.Position;
|
||||
import com.sap.sailing.domain.base.TimePoint;
|
||||
|
||||
public class DeclinationRecordImpl implements DeclinationRecord {
|
||||
private final Position position;
|
||||
private final TimePoint timePoint;
|
||||
private final Bearing bearing;
|
||||
private final Bearing annualChange;
|
||||
|
||||
public DeclinationRecordImpl(Position position, TimePoint timePoint, Bearing bearing, Bearing annualChange) {
|
||||
super();
|
||||
this.position = position;
|
||||
this.timePoint = timePoint;
|
||||
this.bearing = bearing;
|
||||
this.annualChange = annualChange;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Position getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TimePoint getTimePoint() {
|
||||
return timePoint;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Bearing getBearing() {
|
||||
return bearing;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Bearing getAnnualChange() {
|
||||
return annualChange;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user