be.personify.iam.frontend.wicket.util.DateLabel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of personify-frontend Show documentation
Show all versions of personify-frontend Show documentation
frontend library for different usages
package be.personify.iam.frontend.wicket.util;
import java.util.Date;
import java.util.Locale;
import org.apache.wicket.markup.html.basic.Label;
/**
* Basic class for displaying a date
* @author vanderw
*
*/
public class DateLabel extends Label {
private static final long serialVersionUID = 7191335790488417183L;
public DateLabel(String id, Date label) {
super(id, DateUtil.format(label));
}
public DateLabel(String id, Date label, String dateFormatString) {
super(id, DateUtil.format(label, dateFormatString));
}
public DateLabel(String id, Date label, String dateFormatString, Locale locale) {
super(id, DateUtil.format(label, dateFormatString, locale));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy