-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSignature.java
More file actions
33 lines (31 loc) · 1.19 KB
/
Copy pathSignature.java
File metadata and controls
33 lines (31 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Simple signature generation program to put a bit of flare at the end or beginning of your programs
* Currently supports Spaceless, Simple, and Flashy signatures.
*
*/
import java.util.Date;
import java.text.SimpleDateFormat;
public class Signature
{
final static String Name="Claire Software"; //set this to whatever you want.
public static void Signature()
{
Date dNow = new Date( );
SimpleDateFormat ft =
new SimpleDateFormat ("YYYY ");
System.out.println("\n\nProgrammed by" + Name + "," +ft.format(dNow)+"\nAll programs are free to use, and open source." );
}
public static void SignatureSpaceless()
{
Date dNow = new Date( );
SimpleDateFormat ft =
new SimpleDateFormat ("YYYY ");
System.out.println("Programmed by" + Name +"," +ft.format(dNow)+"\nAll programs are free to use, and open source." );
}
public static void SignatureFlashy()
{
System.out.println("*****************************************");
System.out.println("* Programmed by Claire Software, 2017 *"); //Set this to whatever you like.
System.out.println("* All programs open source *");
System.out.println("*****************************************");
}
}