Added new example with custom properties and template.
This commit is contained in:
parent
0fb4324d8d
commit
f801ce03fe
28 changed files with 533 additions and 65 deletions
22
examples/kotlin/src/main/java/com/example/JavaExample.java
Normal file
22
examples/kotlin/src/main/java/com/example/JavaExample.java
Normal file
|
@ -0,0 +1,22 @@
|
|||
package com.example;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Locale;
|
||||
|
||||
public final class JavaExample {
|
||||
/**
|
||||
* Command line interface.
|
||||
*
|
||||
* @param args The command line parameters.
|
||||
*/
|
||||
public static void main(final String... args) {
|
||||
final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm", Locale.US);
|
||||
|
||||
System.out.println("-- From JavaExample -----------------------------------");
|
||||
|
||||
System.out.println(" " + ExampleVersion.PROJECT + ' ' + ExampleVersion.VERSION
|
||||
+ " (" + sdf.format(ExampleVersion.BUILDDATE) + ')');
|
||||
|
||||
System.out.println("-------------------------------------------------------");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue