2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
6 package com
.post
.random_email
.calendar
;
8 import java
.text
.SimpleDateFormat
;
10 import junit
.framework
.TestCase
;
16 public class DateTest
extends TestCase
{
18 public void testConv1()
21 // String date = "25/04/2013";
22 String date
= "Dec 04, 21:00";
24 Date currentDate
= CalendarData
.extractDate(date
);
26 System
.out
.println("Date is ::"+currentDate
);
29 System
.out
.println("Error::"+e
);