Class TileDate

java.lang.Object
org.deltava.beans.wx.TileDate
All Implemented Interfaces:
Serializable, Comparable<TileDate>

public class TileDate extends Object implements Comparable<TileDate>, Serializable
A bean to store weather tile layer dates and paths.
Since:
11.6
Version:
11.6
Author:
Luke
See Also:
  • Constructor Details

    • TileDate

      public TileDate(Instant dt, String path)
      Creates the bean.
      Parameters:
      dt - the effective date/time
      path - the tile path on the remote server
  • Method Details

    • getDate

      public Instant getDate()
      Returns the effective date.
      Returns:
      the date/time
    • getPath

      public String getPath()
      Returns the layer path.
      Returns:
      the path
    • compareTo

      public int compareTo(TileDate td)
      Specified by:
      compareTo in interface Comparable<TileDate>