Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Date getstartdate(final String str) throws ParseException {
- final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm");
- sdf.setTimeZone(TimeZone.getTimeZone("IST"));
- return sdf.parse(str);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement