TV Show King For iTouch

This is the most enjoyable game for the iTouch that I have played so far that features trivia type gameplay. This is way better than Who Wants To Be A Millionaire for the iTouch too. The game, developed by Gameloft, is based on a WiiWare game, and presents a full-featured trivia-based game show with many bonus features, including a wheel-of-fortune type round where your spin can either swap your points to another player, lose everything you have, double your amount and more.

Enjoy the game with questions on all kinds of subjects in a game that features animated colorful characters including a host, DJ, and a crowd. The game also provides multi-player mode so you can play with your friends who have iTouch themselves. Characters can also be customized according to your liking. Points per question increases per round. You have the option to set a round to more than 3 round per game and the top two highest pointer after those rounds will bring it on in the final round. The one who gets the 5 questions correct is the winner. You can even submit your score online. The questions vary from categotry to category so chances of seeing the same question again is small. Apart from enjoying playing this game, you can also learn something from it too. This is one of my favorite games for the iTouch and the price for it is a good deal to begin with.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(3 votes, average: 5.00 out of 5)
 Loading ...

Converting To Another Timezone In Java

Frankly, this was a pain. The Calendar class’ getTime() method which returns a java.util.Date object is misleading. After hours and hours of figuring out why, here is what I noticed. The Calendar class’ getTime() method does not change the timezone even when you assign it with the setTimeZone() method. I finally got to make a method out of it by using the DateFormat (or SimpleDateFormat whichever you like, or both using polymorphism) and formatting it as a String, then parsing that date string and converting it to a Date object. That is the most accurate way of getting the new Date object with the new timezone. That said, I hope those who had a hard time trying to make it work can find this method that I made useful.

public static Date getDateOfTimezone(Date date, String srcTz, String destTz) {
  Calendar cal2 = Calendar.getInstance();
  cal2.setTime(date);
 
  Calendar cal = Calendar.getInstance(TimeZone.getTimeZone(srcTz));
  cal.set(Calendar.MONTH, cal2.get(Calendar.MONTH));
  cal.set(Calendar.DATE, cal2.get(Calendar.DATE));
  cal.set(Calendar.YEAR, cal2.get(Calendar.YEAR));
  cal.set(Calendar.HOUR_OF_DAY, cal2.get(Calendar.HOUR_OF_DAY));
  cal.set(Calendar.MINUTE, cal2.get(Calendar.MINUTE));
  cal.set(Calendar.SECOND, cal2.get(Calendar.SECOND));
 
  String str = formatDateOfTimezone(cal.getTime(), "MM/dd/yyyy hh:mm a", destTz);
  Date date_timezone = parse(str, "MM/dd/yyyy hh:mm a");
 
  return date_timezone;
}

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(3 votes, average: 3.67 out of 5)
 Loading ...

St. Thomas Villas raffle

Most vacationers just enjoy staying at their favorite retreat or vacation house, enjoy the beach the scenery and after getting all of it they just leave and go back to their own homes. But what if you are given the chance to get and have your own prestigious vacation property? I tell you, nothing should stop you from getting this opportunity.

At St. Thomas realty, everything means home. That is why they are inviting everyone to join this spectacular raffle promo to give the lucky winner his own property under warranty deed inclusive of the land and villa and be a permanent residence if you want to. By simply buying a raffle ticket worth $100, this home in paradise might be yours. OceanCliff villa, one of St. Thomas Villas is at stake in this home lottery. It sits on the U.S Virgin Islands that is the most popular Caribbean destinations and has the most exclusive neighborhood. The Villa is a luxurious, fully furnished 6-bedroom, 6.5 bath waterfront property valued at $2 million. Who would not want this kind of offer? If you don’t want to loose your chance to have your own private piece of paradise, make sure you decide right away, there are a limited number of raffle tickets available.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(No Ratings Yet)
 Loading ...

Java IDs For java.util.TimeZone In The United States

The java.util.TimeZone class in the API specifically lists America/Los_Angeles as the Java ID to be used if a U.S. state falls within the Pacific Timezone. You can get a list of all available IDs supported by the TimeZone class by calling the getAvailableIDs() method which returns an array of String objects. But the list has too many America IDs that you cannot know which one is supported by the other timezones. Look no more. Here are the following Java IDs for the different timezones in the U.S.

Eastern TimeESTAmerica/New_York
Central TimeCSTAmerica/Chicago
Mountain TimeMSTAmerica/Denver
Pacific TimePSTAmerica/Los_Angeles
Alaska TimeASTAmerica/Anchorage
Hawaii-Aleutian TimeHSTAmerica/Adak

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(3 votes, average: 5.00 out of 5)
 Loading ...