Documentation of 'org.encog.util.time.EnglishTimeUnitNames' Java class
EnglishTimeUnitNames
org.encog.util.time

Class EnglishTimeUnitNames

  • All Implemented Interfaces:
    TimeUnitNames


    public class EnglishTimeUnitNames
    extends java.lang.Object
    implements TimeUnitNames
    Class used to get the English names for TimeUnits.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String code(TimeUnit unit)
      Get the code for a TimeUnit.
      java.lang.String plural(TimeUnit unit)
      Get the plural form for a TimeUnit.
      java.lang.String singular(TimeUnit unit)
      Get the singular form for a TimeUnit.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnglishTimeUnitNames

        public EnglishTimeUnitNames()
    • Method Detail

      • code

        public java.lang.String code(TimeUnit unit)
        Get the code for a TimeUnit.
        Specified by:
        code in interface TimeUnitNames
        Parameters:
        unit - The time unit.
        Returns:
        The code for the specified time unit.
      • plural

        public java.lang.String plural(TimeUnit unit)
        Get the plural form for a TimeUnit.
        Specified by:
        plural in interface TimeUnitNames
        Parameters:
        unit - The time unit.
        Returns:
        The plural form for the specified time unit.
      • singular

        public java.lang.String singular(TimeUnit unit)
        Get the singular form for a TimeUnit.
        Specified by:
        singular in interface TimeUnitNames
        Parameters:
        unit - The time unit.
        Returns:
        The singular form for the specified time unit.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.