Package com.uc4.api

Class 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 Detail

      • UC4TimezoneName

        public UC4TimezoneName​(java.lang.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 Detail

      • isValid

        public boolean isValid​(java.lang.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