org.gridkit.jvmtool.cli
Class TimeIntervalConverter
java.lang.Object
org.gridkit.jvmtool.cli.TimeIntervalConverter
- All Implemented Interfaces:
- com.beust.jcommander.IStringConverter<Long>
public class TimeIntervalConverter
- extends Object
- implements com.beust.jcommander.IStringConverter<Long>
- Author:
- Alexey Ragozin (alexey.ragozin@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeIntervalConverter
public TimeIntervalConverter()
toMillis
public static long toMillis(String rawStr)
convert
public Long convert(String value)
- Specified by:
convert in interface com.beust.jcommander.IStringConverter<Long>
Copyright © 2019. All Rights Reserved.