Re: get the month integer value by passing month name as a inout

2013-06-20 Thread Shashank Beerla
hey how i do get the calendar instance in GWT

On Sunday, June 16, 2013 3:13:32 PM UTC-5, Jens wrote:


 Yes, I did but i was not able to get what I need? can you please


 Whats the problem with DateTimeFormat? 
 DateTimeFormat.getFormat(M).parse(July) doesn't work?

 -- J.
  


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-20 Thread Jens
GWT does not support Java's Calendar. You have to use Date directly.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-20 Thread Shashank Beerla
but how cud i get the specific month integer value out of the entire data

On Thursday, June 20, 2013 10:05:44 AM UTC-5, Jens wrote:

 GWT does not support Java's Calendar. You have to use Date directly.

 -- J.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-20 Thread Shashank Beerla
int it = DateTimeFormat.getFormat(MM).parse(Month).getMonth();

i used this logic but it is not returning the correct month value wat i am 
passing

On Thursday, June 20, 2013 10:05:44 AM UTC-5, Jens wrote:

 GWT does not support Java's Calendar. You have to use Date directly.

 -- J.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-20 Thread Shashank Beerla
hey i got it . thanks 

On Thursday, June 20, 2013 10:05:44 AM UTC-5, Jens wrote:

 GWT does not support Java's Calendar. You have to use Date directly.

 -- J.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-16 Thread Shashank Beerla
Yes, I did but i was not able to get what I need? can you please

On Thursday, June 13, 2013 5:45:59 AM UTC-4, Frank Hossfeld wrote:

 HI,

 take a look at the DateTimeFormat class.

 Am Donnerstag, 13. Juni 2013 05:15:52 UTC+2 schrieb Shashank Beerla:

 Hi all,

 this particular logic in java returns the logic what I am asking for but 
 GWT does not support java util package of calender. Can someone help me 
 converting this logic with GWT util package

 Calendar cal = Calendar.getInstance();
 cal.setTime(new SimpleDateFormat(MMM).parse(July));int monthInt = 
 cal.get(Calendar.MONTH) + 1;



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-16 Thread Jens


 Yes, I did but i was not able to get what I need? can you please


Whats the problem with DateTimeFormat? 
DateTimeFormat.getFormat(M).parse(July) doesn't work?

-- J.
 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: get the month integer value by passing month name as a inout

2013-06-13 Thread Frank Hossfeld
HI,

take a look at the DateTimeFormat class.

Am Donnerstag, 13. Juni 2013 05:15:52 UTC+2 schrieb Shashank Beerla:

 Hi all,

 this particular logic in java returns the logic what I am asking for but 
 GWT does not support java util package of calender. Can someone help me 
 converting this logic with GWT util package

 Calendar cal = Calendar.getInstance();
 cal.setTime(new SimpleDateFormat(MMM).parse(July));int monthInt = 
 cal.get(Calendar.MONTH) + 1;



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.