Class JsonDateTime

Object
JsonDateTime
All Implemented Interfaces:
Comparable<JsonDateTime>

public class JsonDateTime extends Object implements Comparable<JsonDateTime>
  • Field Details

  • Constructor Details

    • JsonDateTime

      public JsonDateTime(DateTimeType type, int year, int month, int day)
    • JsonDateTime

      public JsonDateTime(DateTimeType type, int year, int month, int day, int hour, int minute, int second, int fraction, JsonUtcOffset utcOffset)
  • Method Details

    • getDayOfWeek

      public DayOfWeek getDayOfWeek()
    • compareTo

      public int compareTo(JsonDateTime other)
      Specified by:
      compareTo in interface Comparable<JsonDateTime>
    • createNode

      public JDateTime createNode(JString dateTime)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public DateTimeType getType()
    • getYear

      public int getYear()
    • getMonth

      public int getMonth()
    • getDay

      public int getDay()
    • getHour

      public int getHour()
    • getMinute

      public int getMinute()
    • getSecond

      public int getSecond()
    • getFraction

      public int getFraction()
    • getUtcOffset

      public JsonUtcOffset getUtcOffset()