Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.configuration.log
Enum TimeFormat

java.lang.Object
  extended by java.lang.Enum<TimeFormat>
      extended by com.genesyslab.platform.apptemplate.configuration.log.TimeFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimeFormat>

public enum TimeFormat
extends java.lang.Enum<TimeFormat>

Describes the way of time string formatting.

See Also:
LogOptionsDescriptions.TIME_FORMAT_OPT

Enum Constant Summary
ISO8601
          Time in format: "yyyy-MM-dd'T'HH-mm-ss.SSS".
LOCALE
          Default formatting by thread locale.
TIME
          Time in format: "HH:mm:ss.SSS".
 
Method Summary
static TimeFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TIME

public static final TimeFormat TIME
Time in format: "HH:mm:ss.SSS".


LOCALE

public static final TimeFormat LOCALE
Default formatting by thread locale.


ISO8601

public static final TimeFormat ISO8601
Time in format: "yyyy-MM-dd'T'HH-mm-ss.SSS".

Method Detail

values

public static TimeFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TimeFormat c : TimeFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TimeFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.