Class Info

java.lang.Object
org.gcube.accounting.analytics.Info

public class Info extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

    • DATETIME_PATTERN

      public static final String DATETIME_PATTERN
      See Also:
    • calendar

      protected Calendar calendar
    • value

      protected org.gcube.com.fasterxml.jackson.databind.JsonNode value
  • Constructor Details

    • Info

      public Info(Calendar calendar, org.gcube.com.fasterxml.jackson.databind.JsonNode value)
      Parameters:
      calendar - the date
      value - the JSON value
  • Method Details

    • getDateFormat

      public static DateFormat getDateFormat()
    • format

      public static String format(Calendar calendar)
    • getCalendar

      public Calendar getCalendar()
      Returns:
      the date
    • setCalendar

      public void setCalendar(Calendar calendar)
      Parameters:
      calendar - the date to set
    • getValue

      public org.gcube.com.fasterxml.jackson.databind.JsonNode getValue()
      Returns:
      the value
    • setValue

      public void setValue(org.gcube.com.fasterxml.jackson.databind.JsonNode value)
      Parameters:
      value - the value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object