|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.util.time.EnglishTimeUnitNames
public class EnglishTimeUnitNames
Class used to get the English names for TimeUnits.
Constructor Summary | |
---|---|
EnglishTimeUnitNames()
|
Method Summary | |
---|---|
String |
code(TimeUnit unit)
Get the code for a TimeUnit. |
String |
plural(TimeUnit unit)
Get the plural form for a TimeUnit. |
String |
singular(TimeUnit unit)
Get the singular form for a TimeUnit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnglishTimeUnitNames()
Method Detail |
---|
public String code(TimeUnit unit)
code
in interface TimeUnitNames
unit
- The time unit.
public String plural(TimeUnit unit)
plural
in interface TimeUnitNames
unit
- The time unit.
public String singular(TimeUnit unit)
singular
in interface TimeUnitNames
unit
- The time unit.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |