English | Site Directory

Android - An Open Handset Alliance Project

android.util
public class

android.util.TimeUtils

java.lang.Object
android.util.TimeUtils

Summary

Public Constructors

          TimeUtils()

Public Methods

      static  TimeZone  getTimeZone(int offset, boolean dst, long when, String country)
Tries to return a time zone that would have had the specified offset and DST value at the specified moment in the specified country.
Methods inherited from class java.lang.Object

Details

Public Constructors

public TimeUtils()

Public Methods

public static TimeZone getTimeZone(int offset, boolean dst, long when, String country)

Tries to return a time zone that would have had the specified offset and DST value at the specified moment in the specified country. Returns null if no suitable zone could be found.
Build m5-rc15i - 10 Jun 2008 13:54