Package com.uc4.api

Class UC4TimezoneName

java.lang.Object
com.uc4.api.UC4ObjectName
com.uc4.api.UC4TimezoneName

public class UC4TimezoneName extends UC4ObjectName
This class represents the name of a TimeZone object. It contains checks to test if the name is valid for a TZ object.
  • Constructor Details

    • UC4TimezoneName

      public UC4TimezoneName(String name)
      Constructs a UC4TimezoneName using the specified name .
      Parameters:
      name - name
      Throws:
      InvalidUC4NameException - if the name is not empty and invalid
    • UC4TimezoneName

      public UC4TimezoneName(UC4TimezoneName name)
      Constructs a UC4TimezoneName using the specified parameters.
      Parameters:
      name - UC4TimezoneName
  • Method Details

    • isValid

      public boolean isValid(String name)
      Description copied from class: UC4ObjectName
      Tests if the supplied name would be a valid name for an object in the Automation Engine. The test is case insensitive.
      Overrides:
      isValid in class UC4ObjectName
      Parameters:
      name - Name to be tested
      Returns:
      true if this is a valid name of an object