Class FHIRPathDateTimeValue

    • Field Detail

      • PARSER_FORMATTER

        public static final java.time.format.DateTimeFormatter PARSER_FORMATTER
    • Method Detail

      • dateTime

        public java.time.temporal.TemporalAccessor dateTime()
        The date/time value wrapped by this FHIRPathDateTimeValue node
        Returns:
        the date/time value wrapped by this FHIRPathDateTimeValue node
      • dateTimeValue

        public static FHIRPathDateTimeValue dateTimeValue​(java.lang.String text)
        Static factory method for creating FHIRPathDateTimeValue instances from a String value
        Parameters:
        text - the String value that is parsed into a TemporalAccessor date/time
        Returns:
        a new FHIRPathDateTimeValue instance
      • dateTimeValue

        public static FHIRPathDateTimeValue dateTimeValue​(java.time.temporal.TemporalAccessor dateTime)
        Static factory method for creating FHIRPathDateTimeValue instances from a TemporalAccessor date/time value
        Parameters:
        dateTime - the TemporalAccessor date/time value
        Returns:
        a new FHIRPathDateTimeValue instance
      • dateTimeValue

        public static FHIRPathDateTimeValue dateTimeValue​(java.lang.String path,
                                                          java.lang.String name,
                                                          java.time.temporal.TemporalAccessor dateTime)
        Static factory method for creating named FHIRPathDateTimeValue instances from a TemporalAccessor date/time value
        Parameters:
        path - the path of the FHIRPathNode
        name - the name
        dateTime - the TemporalAccessor date/time value
        Returns:
        a new named FHIRPathDateTimeValue instance
      • builder

        public static FHIRPathDateTimeValue.Builder builder​(java.time.temporal.TemporalAccessor dateTime,
                                                            java.time.temporal.ChronoField precision)
        Static factory method for creating builder instances from a TemporalAccess date/time value with a specified precision
        Parameters:
        dateTime - the TemporalAccessor date/time value
        precision - the precision
        Returns:
        a new builder for building FHIRPathDateTimeValue instances
      • equals

        public boolean equals​(java.lang.Object obj)
        Indicates whether the date/time value wrapped by this FHIRPathDateTimeValue node is equal the parameter (or its primitive value)
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the other Object
        Returns:
        true if the date/time value wrapped by this FHIRPathDateTimeValue node is equal the parameter (or its primitive value), otherwise false
      • hashCode

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

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