Class TimestampFormatUtil

java.lang.Object
com.evolveum.midpoint.model.common.expression.functions.TimestampFormatUtil

public class TimestampFormatUtil extends Object
Author:
semancik
  • Constructor Details

    • TimestampFormatUtil

      public TimestampFormatUtil()
  • Method Details

    • strptime

      public static ZonedDateTime strptime(String input, String posixFormat)
      strptime: Parses a string into a ZonedDateTime. POSIX-like function, compatible with other CEL implementations and UNIX world.
    • strftime

      public static String strftime(Instant instant, String posixFormat)
      strftime: Formats an Instant into a string
    • strftime

      public static String strftime(ZonedDateTime zdt, String posixFormat)
      strftime: Formats an Instant into a string