Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.util.time
Interface TimeUnitNames

All Known Implementing Classes:
  EnglishTimeUnitNames

    public interface TimeUnitNames

Get the name or code for a time unit.

Author:
  jheaton

Method Summary
`String` | `code(TimeUnit unit)` Get the code for the specified time unit.
`String` | `plural(TimeUnit unit)` Get the plural name for the specified time unit.
`String` | `singular(TimeUnit unit)` Get the singular form of the specified time unit.

Method Detail

### code

    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

    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

    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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.