Welcome to Srini's blog

Friday, August 27, 2010

Proposal to extend tax exemption limit to Rs. 2 lakh

Hello Indian taxpayers good news for you .. Yes yeaterday Union Cabinet approved the long-awaited Direct Taxes Code (DTC) Bill under which the government has proposed to hike the income tax exemption limit to Rs. 2 lakh from the existing base of Rs. 1.6 lakh. Ofcourse this is proposal lets see what will happen. For more details got o THE HINDU

Java strings splitting issue

Yesterday I faced an interesting issue with java strings. I have a string values with .(dot) , ex. 127.4.3.2 ,,etc. My aim is to split the string by .(dot), As usual I used the following stmts to do it.

String myStr = "172.5.33.22";
String[] strs = myStr.split(".");
System.out.println("Length : " + strs.length);


But when I run the program the resulte strs length is 0. Then I modified myStr as '172,22,,5,6' and modified split str as ','. its resulting strs length as 4. I wondered why happening this, A quick googling I got solution and its worked. The sol is If you want to slpit the string by .(dot) you need to specify regExp as '\\.'.

The working code is
String myStr = "172.5.33.22";
String[] strs = myStr.split("\\.");
System.out.println("Length : " + strs.length);

Now I got correct strs length.

Tuesday, August 24, 2010

Blogger Widgets: Official Sharing Buttons on Blogger

If you want to make your post to others share it, then check it out here. Blogger Widgets: Official Sharing Buttons on Blogger.

Recent cover by Madilyn

Happy B'day Sree ...

May more happy returns of the day raa srekanth. As usual last night we celebrated his B'day @ necklaces road. Only myself, Bharat & Sai went to there from our batch and rest of us are sree's roommates. kalyan, ksn not joined with us due to health problems and venky was on vacation. We didn't spent much time there, just cut the cake and bumps. This time B'day boy had some more bumps than previous B'days.

This is last b'day for this year from our batch..... we need to wait 4 more months to celebrate next B'day, hope that time GOD will strengthen me as I can(Bcaz this is kalyan's turn. ;))... Actually Sree was ready to treat us today but we are unable to go due to some of us feeling sickness, probably tomorrow night we will met somewhere. Sreekanth once again I am wishing you a colorful and pleasent and great day.

Monday, August 23, 2010

Something special news

Hi Bloggers hope you are all doing well , This time I came up with an interesting news which I had never heard and seen. This is really not acceptable thing. I think you people also never expect this kind of thing. With this we will know how people crazy to do such kind of actions. Ohhh ... sorry I didn't tell about the news which I came to know .. Here the thing is Nothing. Opppsssssssss .. I think you are angry on me for this kind of post. Sorry .. Sorry .. Sorry. and thanks for your patience to read. wait.. wait .. I need to tell one more thing. Hummm .. This time I am not joking, Huhhh .. I think you are still reading this post... The news is .... this is my centuaryth post. Hmmmm just I want this post to be kind of .... Hope you understand my intention. I am really wondering .. yeah .. its a special thing for me. I am really happy to share this with you people. Forgive me for this kind of stupid post .. :P . Hv a great day ....
Thanks,
Srini.T

Hard days to me ...

These days are very sick and un-healthy. From last friday all of us suffering with fever, body-ache, cold and cough. First kalyan get sucked with these and next is mine. Recently KSN also added to list of victims. I think this is seasonal flu with recent atmoshepere change with heavy rains in Hyd and fastly spreading from one to others. Anyway I am okay now but my body not supporting like previous, Iam very dull, delicate and feeling like somebody pulling all my strength(Ofcourse i dont hv too much :P). Hope will recover soon ..

Tuesday, August 17, 2010

Get short timezone displayname -- Java

I think you are already familiar with timezones, Ofcourse its not mandatory. Here discussion is If you want to export timezone value into Excel(.xls/.CSV) by default long name will come(like Asia/Calcutta). If you want to save short name(like IST) try the following code.

String timeZoneStr = "Asia/Calcutta";
String shortDisplayName = TimeZone.getTimeZone(timeZoneStr).getDisplayName(false, TimeZone.SHORT);


Here first boolean param indicates daylight saving on/off and TimeZone.SHORT indicates a style specifier for getDisplayName() indicating a short name, such as "IST."

Monday, August 9, 2010

Happy B'day Kuchi

Today KSN's B'day .. Many many happy returns of the day Kuch! ... Last night we didn't celebrated due to he was residing at vanashtalipuram with relatives, it is too far from city. Today KSN treated us @ Aroma - Panjagutta. Cake cutting followed by dinner. One more thing is tomorrow Suresh's B'day, So They both cut the cake. B'day boys didn't scared abt bumps , Ofcourse no one did that except bharath and Sudheer and also kalyan. About dinner .....!! Food was not bad. Oppsss .....My stomach was full with biryani ... huhhh..

Friday, August 6, 2010

New room .. Needs time to settle.

Huuuuuuuuuuh ..At last we are in new room .. New room was bigger than old but facilities are poor. We aren't settled yet, We are little bit busy professionally as well as personally(Ofcourse exclude me . :P ) after vacating old room. All our luggage scattered in room , Probably this weekend we will arrange properly. Today we re-connected net in room Ufffffhh.. its coool thing..

Tuesday, August 3, 2010

Vacating room

Last Sunday we need to vacate the room, but still we didn't do tht. Yesterday we planned, but wont executed. Today at any cost we need to vacate.Its difficult to leave present room, we are here from last 3 yrs. Whatever u want, All r available within 100 mtrs except office !!! :P . One horrible thing with new room is we need to walk 2.5 KM to go office .. No autos, buses .., Now u understood y we r still stick with old room .. !!! But good thing is this is for 3 more days only .. ;)). One strange news is new room owner eagerly waiting for us, morning called me and asked y didn't u guys joined yet?(He don't know the transportation prob) even though we paid 2 months rent in 4 days back. Hope today we will do it ...

Sunday, August 1, 2010

Happy frndship day

Hi frnds hpy frndshipday to all .. Hope u njyd well with frnds & keep dis joy forever..


.
Keep smiling :))
Srini