Package jetbrains.buildServer.plugins
Enum SnapshotVersionFields
- java.lang.Object
-
- java.lang.Enum<SnapshotVersionFields>
-
- jetbrains.buildServer.plugins.SnapshotVersionFields
-
- All Implemented Interfaces:
Serializable
,Comparable<SnapshotVersionFields>
public enum SnapshotVersionFields extends Enum<SnapshotVersionFields>
- Author:
- Eugene Petrenko Created: 19.07.2010 19:33:10
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
parseNumber(StringBuilder date)
boolean
readAndSet(Calendar calendar, StringBuilder date)
static SnapshotVersionFields
valueOf(String name)
Returns the enum constant of this type with the specified name.static SnapshotVersionFields[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YEAR
public static final SnapshotVersionFields YEAR
-
MONTH
public static final SnapshotVersionFields MONTH
-
DAY
public static final SnapshotVersionFields DAY
-
HOUR
public static final SnapshotVersionFields HOUR
-
MINUTE
public static final SnapshotVersionFields MINUTE
-
SECOND
public static final SnapshotVersionFields SECOND
-
-
Method Detail
-
values
public static SnapshotVersionFields[] 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 (SnapshotVersionFields c : SnapshotVersionFields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnapshotVersionFields 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 nameNullPointerException
- if the argument is null
-
readAndSet
public boolean readAndSet(@NotNull Calendar calendar, @NotNull StringBuilder date)
-
parseNumber
protected int parseNumber(StringBuilder date)
-
-