Class TimeZoneConverter

java.lang.Object
org.jruby.util.TimeZoneConverter

public class TimeZoneConverter extends Object
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 Details

  • Method Details

    • dateZoneToDiff

      public static int dateZoneToDiff(String zone)
      Ports date_zone_to_diff from ext/date/date_parse.c in MRI 2.3.1 under BSDL.