class calc of online banking application
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
| public class Calc{ public static String formatDate(String x) { String year=x.substring(0,4); String day=x.substring(8,10); String month=null; int mm=Integer.parseInt(x.substring(5,7)); switch (mm) { case (1): month="JAN"; break; case (2): month="FEB"; break; case (3): month="MAR"; break; case (4): month="APR"; break; case (5): month="MAY"; break; case (6): month="JUN"; break; case (7): month="JUL"; break; case (8): month="AUG"; break; case (9): month="SEP"; break; case (10): month="OCT"; break; case (11): month="NOV"; break; case (12): month="DEC"; break; } return(year+"/"+month+"/"+day); }} |
NEXT =>>class DepositFixed IN ONLINE BANKING PROJECT
About the Author

0 comments: