Top Description Fields Constructors Methods
org.jruby.util

public Class TimeZoneConverter

extends Object
Class Inheritance
Imports
java.util.List

This is utility class to convert given timezone into integer based timezone diff. It's ported from ext/date/date_parse.c in MRI 2.3.1 under BSDL.

Field Summary

Modifier and TypeField and Description
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
dateZoneToDiff(String zone)

Ports date_zone_to_diff from ext/date/date_parse.c in MRI 2.3.1 under BSDL.

private static int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INVALID_ZONEback to summary
public static final int INVALID_ZONE

Constructor Detail

TimeZoneConverterback to summary
private TimeZoneConverter()

Method Detail

dateZoneToDiffback to summary
public static int dateZoneToDiff(String zone)

Ports date_zone_to_diff from ext/date/date_parse.c in MRI 2.3.1 under BSDL.

getOffsetFromZonesSourceback to summary
private static int getOffsetFromZonesSource(String z)