org.encog.util.time
Interface TimeUnitNames
-
- All Known Implementing Classes:
- EnglishTimeUnitNames
public interface TimeUnitNamesGet the name or code for a time unit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Stringcode(TimeUnit unit)Get the code for the specified time unit.java.lang.Stringplural(TimeUnit unit)Get the plural name for the specified time unit.java.lang.Stringsingular(TimeUnit unit)Get the singular form of the specified time unit.
-
-
-
Method Detail
-
code
java.lang.String code(TimeUnit unit)
Get the code for the specified time unit.- Parameters:
unit- The time unit.- Returns:
- Return the code for the specified time unit.
-
plural
java.lang.String plural(TimeUnit unit)
Get the plural name for the specified time unit.- Parameters:
unit- The time unit.- Returns:
- Return the plural name for the specified unit.
-
singular
java.lang.String singular(TimeUnit unit)
Get the singular form of the specified time unit.- Parameters:
unit- The time unit.- Returns:
- The singular form of the specified time unit.
-
-
DMelt 3.0 © DataMelt by jWork.ORG