brianm / config-magic

Convenience Configuration Library for Java
81 stars 26 forks source link

Allow longer time unit definitions for TimeSpan #5

Closed cowtowncoder closed 12 years ago

cowtowncoder commented 12 years ago

In addition to existing single-letter time unit definitions, it would be good to have longer aliases, so that "s"/"second"/"seconds" would all be allowed for second values; and similarly for other existing time units.

cowtowncoder commented 12 years ago

Implemented, added/modified tests