java.lang.Object
com.timeanddate.services.dataTypes.time.TADTime

public class TADTime extends Object
Author:
Cato Auestad <cato@timeanddate.com>
  • Constructor Details

    • TADTime

      public TADTime()
  • Method Details

    • getISO

      public String getISO()
      ISO representation of date and time, timezone included if different from UTC. If time is not applicable, only the date is shown. Example: 2011-06-08T09:18:16+02:00 Example: 2011-06-08T07:18:16 (UTC time) Example: 2011-06-08 (only date)
    • getDateTime

      public TADDateTime getDateTime()
      Date and time representation of the ISO string.
    • getTimezone

      public TADTimezone getTimezone()
      Timezone information. Element is only present if different from UTC and requested by specifying the IncludeTimezoneInformation parameter.
    • fromNode

      public static TADTime fromNode(Node node)