org.jmythapi.protocol.response
Enum ITimezone.Props

java.lang.Object
  extended by java.lang.Enum<ITimezone.Props>
      extended by org.jmythapi.protocol.response.ITimezone.Props
All Implemented Interfaces:
Serializable, Comparable<ITimezone.Props>
Enclosing interface:
ITimezone

public static enum ITimezone.Props
extends Enum<ITimezone.Props>

Properties of the ITimezone response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange42-1
TIMEZONE_IDString[42,-1)XX
UTC_OFFSETInteger[42,-1)XX
CURRENT_DATEDate[42,-1)XX


Enum Constant Summary
CURRENT_DATE
          [03]
TIMEZONE_ID
          [01]
UTC_OFFSET
          [02]
 
Method Summary
static ITimezone.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ITimezone.Props[] 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

TIMEZONE_ID

public static final ITimezone.Props TIMEZONE_ID
[01]

See Also:
ITimezone.getTimeZoneID()

UTC_OFFSET

public static final ITimezone.Props UTC_OFFSET
[02]

See Also:
ITimezone.getUTCOffset()

CURRENT_DATE

public static final ITimezone.Props CURRENT_DATE
[03]

See Also:
ITimezone.getCurrentDate()
Method Detail

values

public static ITimezone.Props[] 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 (ITimezone.Props c : ITimezone.Props.values())
    System.out.println(c);

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

valueOf

public static ITimezone.Props valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.