public class OldSecondDurationConverter extends Object implements IConverter<Long>
| Constructor and Description |
|---|
OldSecondDurationConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertObjectToString(Locale loc,
Long in) |
Long |
convertStringToObject(Locale loc,
String input)
Convert a duration in the format: [xD] hh:mm[:ss] into a duration in seconds.
|
public String convertObjectToString(Locale loc, Long in) throws UIException
convertObjectToString in interface IObjectToStringConverter<Long>UIExceptionpublic Long convertStringToObject(Locale loc, String input) throws UIException
convertStringToObject in interface IStringToObjectConverter<Long>UIExceptionIStringToObjectConverter.convertStringToObject(java.util.Locale, String)Copyright © 2017 etc.to. All rights reserved.