Afficher l’heure en fuseau horaire local

Author:

Afficher,l'heure,en,fuseau,horaire,local
{filelink=6308}


import java.util.Calendar;
import java.util.GregorianCalendar;

public class HeureFuseauLocal
{
	/**       Afficher L'heure en fuseau horaire heure                   **/
  public static void main(String[] argv) throws Exception
    {

    Calendar heure = new GregorianCalendar();
    heure.set(Calendar.HOUR_OF_DAY, 10); // 0..23
    heure.set(Calendar.MINUTE, 0);
    heure.set(Calendar.SECOND, 0);

  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Afficher l’heure en fuseau horaire local

Author:

Comment,obtenir,l'heure,dans,le,fuseau,horaire,local
{filelink=6313} (more…)

Leave a Reply

Your email address will not be published. Required fields are marked *