Pain.
[tor-test-java.git] / src / test / java / com / post / random_email / calendar / DateTest.java
blob5e8593127d4eeba91f6fd140cda17e550c2d023f
1 /*
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.
5 */
6 package com.post.random_email.calendar;
8 import java.text.SimpleDateFormat;
9 import java.util.Date;
10 import junit.framework.TestCase;
12 /**
14 * @author salvix
16 public class DateTest extends TestCase {
18 public void testConv1()
20 try{
21 // String date = "25/04/2013";
22 String date = "Dec 04, 21:00";
24 Date currentDate = CalendarData.extractDate(date);
25 // currentDate.g
26 System.out.println("Date is ::"+currentDate);
28 catch(Exception e) {
29 System.out.println("Error::"+e);