public enum Timespan extends Enum<Timespan>
| Enum Constant and Description |
|---|
D
Day k
|
M
Month k
|
M1
1 minute k
|
M120
120 minutes k
|
M15
15 minutes k
|
M240
240 minutes k
|
M30
30 minutes k
|
M5
5 minutes k
|
M60
60 minutes k
|
W
Week k
|
Y
Year k
|
| Modifier and Type | Method and Description |
|---|---|
static Timespan |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Timespan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Timespan M1
public static final Timespan M5
public static final Timespan M15
public static final Timespan M30
public static final Timespan M60
public static final Timespan M120
public static final Timespan M240
public static final Timespan D
public static final Timespan W
public static final Timespan M
public static final Timespan Y
public static Timespan[] values()
for (Timespan c : Timespan.values()) System.out.println(c);
public static Timespan valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 Webull. All rights reserved.