lib/tzinfo/data_timezone.rb in tzinfo-0.3.37 vs lib/tzinfo/data_timezone.rb in tzinfo-0.3.38

- old
+ new

@@ -1,7 +1,7 @@ #-- -# Copyright (c) 2006-2010 Philip Ross +# Copyright (c) 2006-2013 Philip Ross # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -21,9 +21,11 @@ #++ module TZInfo # A Timezone based on a DataTimezoneInfo. + # + # @private class DataTimezone < InfoTimezone #:nodoc: # Returns the TimezonePeriod for the given UTC time. utc can either be # a DateTime, Time or integer timestamp (Time.to_i). Any timezone # information in utc is ignored (it is treated as a UTC time).