All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.coordinate.TemporalCoordinate Maven / Gradle / Ivy

package com.geotab.model.coordinate;

import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * A coordinate that is related to a DateTime.
 */
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TemporalCoordinate extends Coordinate {

  /**
   * The date and time of this coordinate.
   */
  private LocalDateTime dateTime;

  public TemporalCoordinate(double x, double y, LocalDateTime dateTime) {
    super(x, y);
    this.dateTime = dateTime;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy