1 package org.kuali.common.util.env.adapter; 2 3 import org.kuali.common.util.FormatUtils; 4 5 public final class MillisAsIntAdapter implements EnvAdapter<String, Integer> { 6 7 @Override 8 public Class<String> getSourceType() { 9 return String.class; 10 } 11 12 @Override 13 public Integer convert(String time) { 14 return FormatUtils.getMillisAsInt(time); 15 } 16 17 }