Java UTC TimeZone utc()

Here you can find the source of utc()

Description

Returns a UTC timezone object.

License

Open Source License

Return

the timezone object

Declaration

private static TimeZone utc() 

Method Source Code

//package com.java2s;

import java.util.TimeZone;

public class Main {
    /**/*  w  ww  .j  a va  2 s .  c  o m*/
     * Returns a UTC timezone object.
     * @return the timezone object
     */
    private static TimeZone utc() {
        return TimeZone.getTimeZone("UTC");
    }
}

Related

  1. _getUTCOffset()
  2. formatTimezoneOffsetFromUTC(TimeZone tz)
  3. getUTCTimeZone()
  4. getUTCTimeZone()
  5. localToUTC(long local)
  6. UTCTimeZone()