public static <T extends Comparable<?>> DateTimeExpression<T> create(Class<T> type, Template template, Object... args) { return new DateTimeTemplate<T>(type, template, ImmutableList.copyOf(args)); }
public static <T extends Comparable<?>> DateTimeExpression<T> create(Class<T> type, String template) { return new DateTimeTemplate<T>(type, TemplateFactory.DEFAULT.create(template), ImmutableList.of()); }
public static <T extends Comparable<?>> DateTimeExpression<T> create(Class<T> type, String template, Object one) { return new DateTimeTemplate<T>(type, TemplateFactory.DEFAULT.create(template), ImmutableList.of(one)); }
public static <T extends Comparable<?>> DateTimeExpression<T> create(Class<T> type, String template, Object one, Object two) { return new DateTimeTemplate<T>(type, TemplateFactory.DEFAULT.create(template), ImmutableList.of(one, two)); }
public static <T extends Comparable<?>> DateTimeExpression<T> create(Class<T> type, String template, Object... args) { return new DateTimeTemplate<T>(type, TemplateFactory.DEFAULT.create(template), ImmutableList.copyOf(args)); }