Java UTC Date getUTCCalendar()

Here you can find the source of getUTCCalendar()

Description

get UTC Calendar

License

Open Source License

Declaration

private static synchronized Calendar getUTCCalendar() 

Method Source Code

//package com.java2s;

import java.util.*;

public class Main {
    private static Calendar utcCal = null;

    private static synchronized Calendar getUTCCalendar() {
        if (utcCal == null) {
            utcCal = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
        }//from  www  .  j  ava 2s.c o m
        return utcCal;
    }
}

Related

  1. formatUTC(Date time)
  2. getPlatypusConainerClass(Class aLayoutClass)
  3. getUTC()
  4. getUTC(String beforeFormart, String afterFormart, String dateStr)
  5. getUTCCalendar()
  6. getUTCCalendar(Calendar value)
  7. getUTCCalendarFromDialogString(String dateString)
  8. getUTCDate()
  9. getUtcDate(String date, String pattern)