com.cedarsoft.spring.rcp.table.renderer.LocalTimeTableCellRenderer Maven / Gradle / Ivy
package com.cedarsoft.spring.rcp.table.renderer;
import org.jetbrains.annotations.NotNull;
import org.joda.time.LocalTime;
import org.joda.time.format.DateTimeFormat;
/**
*
*/
public class LocalTimeTableCellRenderer extends AbstractTableCellRenderer {
public LocalTimeTableCellRenderer() {
super( LocalTime.class );
}
@Override
@NotNull
protected String format( @NotNull LocalTime object ) {
return DateTimeFormat.shortTime().print( object );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy