Class ISO8601DateAdapter


  • @Deprecated
    public class ISO8601DateAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<String,​Date>
    Deprecated.
    since 5.9 use com.atlassian.bamboo.rest.common.adapters.ISO8601DateAdapter
    Converts dates to and from strings in the format specified by ISO8601.
    See Also:
    ISO8601 standard
    • Constructor Detail

      • ISO8601DateAdapter

        public ISO8601DateAdapter()
        Deprecated.
    • Method Detail

      • unmarshal

        public Date unmarshal​(@Nullable
                              @Nullable String date)
                       throws Exception
        Deprecated.
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,​Date>
        Throws:
        Exception
      • marshal

        public String marshal​(@Nullable
                              @Nullable Date date)
                       throws Exception
        Deprecated.
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,​Date>
        Throws:
        Exception