Namespace com.ibm.streamsx.network.datetimeformat

Functions

  • formatElapsedTime(float64): This function formats a value representing elapsed time, in seconds including a fractional part, as a string representation of that time in the form 'DDDDd HHh MMm SS.FFFFFFs', with leading zeros omitted.
  • formatElapsedTime(float64, uint32): This function formats a value representing elapsed time, in seconds including a fractional part, as a string representation of that time in the form 'DDDDd HHh MMm SS.FFFFFFs', with leading zeros omitted.
  • formatElapsedTime(uint32): This function formats an integer representing elapsed time, in seconds, as a string representation of that time in the form 'DDDDd HHh MMm SSs', with leading zeros omitted.
  • formatEpoch(uint32, rstring): This function formats an integer representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string, according to an 'strftime' format pattern.
  • formatEpochDateTime(float64): This function formats the integer and fractional parts of a value representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'YYYY-MM-DD HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochDateTime(float64, uint32): This function formats the integer and fractional parts of a value representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'YYYY-MM-DD HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochDateTime(timestamp): This function formats the integer and fractional parts of a timestamp representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'YYYY-MM-DD HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochDateTime(timestamp, uint32): This function formats the integer and fractional parts of a timestamp representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'YYYY-MM-DD HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochDateTime(uint32): This function formats an integer representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'YYYY-MM-DD HH:MM:SS' in the local time zone.
  • formatEpochTime(float64): This function formats the integer and fractional parts of a value representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochTime(float64, uint32): This function formats the integer and fractional parts of a value representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochTime(timestamp): This function formats the integer and fractional parts of a timestamp representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochTime(timestamp, uint32): This function formats the integer and fractional parts of a timestamp representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'HH:MM:SS.FFFFFF' in the local time zone.
  • formatEpochTime(uint32): This function formats an integer representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string in the form 'HH:MM:SS' in the local time zone.
  • formatSubseconds(float64, uint32): This function formats the integer and fractional parts of a value representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string, with the specified precision for the fractional part.
  • formatSubseconds(timestamp, uint32): This function formats the integer and fractional parts of a timestamp representing 'Unix epoch' time (that is, seconds since January 1st, 1970 at midnight in Greenwich, England) as a string, with the specified precision for the fractional part.