Documentation of 'us.bpsm.edn.parser.ParsedInstant' Java class
ParsedInstant
us.bpsm.edn.parser

Class ParsedInstant



  • public class ParsedInstant
    extends java.lang.Object
    ParsedInstant contains the pared contents of a RFC3339 style time stamp.
    See Also:
    AbstractInstantHandler
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int days
      Day of the month: 01-28, 01-29, 01-30, 01-31 based on month/year.
      int hours
      Hours of the day: 00-23.
      int minutes
      Minutes of the hour: 00-59.
      int months
      Month of the year: 01-12.
      int nanoseconds
      Nanoseconds of the second: 0-999999999.
      int offsetHours
      The whole hour component of the time zone offset: [0-23].
      int offsetMinutes
      The minute component of the time zone offset: [0-59].
      int offsetSign
      The sign of the timezone offset as follows:
      int seconds
      Seconds of the minute: 00-58, 00-59, 00-60 based on leap second rules.
      int years
      The year: -9999-9999.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ParsedInstant(int years, int months, int days, int hours, int minutes, int seconds, int nanoseconds, int offsetSign, int offsetHours, int offsetMinutes) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      int hashCode() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • years

        public final int years
        The year: -9999-9999.
      • months

        public final int months
        Month of the year: 01-12. Defaults to 1 of missing.
      • days

        public final int days
        Day of the month: 01-28, 01-29, 01-30, 01-31 based on month/year. Defaults to 0 of missing.
      • hours

        public final int hours
        Hours of the day: 00-23. Defaults to 0 of missing.
      • minutes

        public final int minutes
        Minutes of the hour: 00-59. Defaults to 0 of missing.
      • seconds

        public final int seconds
        Seconds of the minute: 00-58, 00-59, 00-60 based on leap second rules. Defaults to 0 of missing.
      • nanoseconds

        public final int nanoseconds
        Nanoseconds of the second: 0-999999999. Defaults to 0 if missing.
      • offsetSign

        public final int offsetSign
        The sign of the timezone offset as follows:
        
         -1 for the sign "-"
         +1 for the sign "+"
          0 when non-numeric offset "Z" is given
         
        Defaults to 0 if missing.
      • offsetHours

        public final int offsetHours
        The whole hour component of the time zone offset: [0-23]. If the offset is given as "Z", this will be 0. Defaults to 0 if missing.
      • offsetMinutes

        public final int offsetMinutes
        The minute component of the time zone offset: [0-59]. If the offset is given as "Z", this will be 0. Defaults to 0 if missing.
    • Constructor Detail

      • ParsedInstant

        public ParsedInstant(int years,
                             int months,
                             int days,
                             int hours,
                             int minutes,
                             int seconds,
                             int nanoseconds,
                             int offsetSign,
                             int offsetHours,
                             int offsetMinutes)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.