Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
tzinfo /
[ HOME SHELL ]
Name
Size
Permission
Action
country.rb
6.1
KB
-rw-r--r--
country_index_definition.rb
962
B
-rw-r--r--
country_info.rb
1.14
KB
-rw-r--r--
country_timezone.rb
5
KB
-rw-r--r--
data_source.rb
6.94
KB
-rw-r--r--
data_timezone.rb
2.14
KB
-rw-r--r--
data_timezone_info.rb
2.01
KB
-rw-r--r--
info_timezone.rb
571
B
-rw-r--r--
linked_timezone.rb
2.36
KB
-rw-r--r--
linked_timezone_info.rb
835
B
-rw-r--r--
offset_rationals.rb
3.64
KB
-rw-r--r--
ruby_core_support.rb
4.57
KB
-rw-r--r--
ruby_country_info.rb
2.44
KB
-rw-r--r--
ruby_data_source.rb
4.15
KB
-rw-r--r--
time_or_datetime.rb
10.46
KB
-rw-r--r--
timezone.rb
24.99
KB
-rw-r--r--
timezone_definition.rb
981
B
-rw-r--r--
timezone_index_definition.rb
1.6
KB
-rw-r--r--
timezone_info.rb
747
B
-rw-r--r--
timezone_offset.rb
3.72
KB
-rw-r--r--
timezone_period.rb
8.76
KB
-rw-r--r--
timezone_proxy.rb
3.7
KB
-rw-r--r--
timezone_transition.rb
4.28
KB
-rw-r--r--
timezone_transition_definition...
3.76
KB
-rw-r--r--
transition_data_timezone_info....
9.67
KB
-rw-r--r--
zoneinfo_country_info.rb
1.19
KB
-rw-r--r--
zoneinfo_data_source.rb
19.12
KB
-rw-r--r--
zoneinfo_timezone_info.rb
11.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : timezone_transition.rb
module TZInfo # Represents a transition from one timezone offset to another at a particular # date and time. class TimezoneTransition # The offset this transition changes to (a TimezoneOffset instance). attr_reader :offset # The offset this transition changes from (a TimezoneOffset instance). attr_reader :previous_offset # Initializes a new TimezoneTransition. # # TimezoneTransition instances should not normally be constructed manually. def initialize(offset, previous_offset) @offset = offset @previous_offset = previous_offset @local_end_at = nil @local_start_at = nil end # A TimeOrDateTime instance representing the UTC time when this transition # occurs. def at raise_not_implemented('at') end # The UTC time when this transition occurs, returned as a DateTime instance. def datetime at.to_datetime end # The UTC time when this transition occurs, returned as a Time instance. def time at.to_time end # A TimeOrDateTime instance representing the local time when this transition # causes the previous observance to end (calculated from at using # previous_offset). def local_end_at # Thread-safety: It is possible that the value of @local_end_at may be # calculated multiple times in concurrently executing threads. It is not # worth the overhead of locking to ensure that @local_end_at is only # calculated once. unless @local_end_at result = at.add_with_convert(@previous_offset.utc_total_offset) return result if frozen? @local_end_at = result end @local_end_at end # The local time when this transition causes the previous observance to end, # returned as a DateTime instance. def local_end local_end_at.to_datetime end # The local time when this transition causes the previous observance to end, # returned as a Time instance. def local_end_time local_end_at.to_time end # A TimeOrDateTime instance representing the local time when this transition # causes the next observance to start (calculated from at using offset). def local_start_at # Thread-safety: It is possible that the value of @local_start_at may be # calculated multiple times in concurrently executing threads. It is not # worth the overhead of locking to ensure that @local_start_at is only # calculated once. unless @local_start_at result = at.add_with_convert(@offset.utc_total_offset) return result if frozen? @local_start_at = result end @local_start_at end # The local time when this transition causes the next observance to start, # returned as a DateTime instance. def local_start local_start_at.to_datetime end # The local time when this transition causes the next observance to start, # returned as a Time instance. def local_start_time local_start_at.to_time end # Returns true if this TimezoneTransition is equal to the given # TimezoneTransition. Two TimezoneTransition instances are # considered to be equal by == if offset, previous_offset and at are all # equal. def ==(tti) tti.kind_of?(TimezoneTransition) && offset == tti.offset && previous_offset == tti.previous_offset && at == tti.at end # Returns true if this TimezoneTransition is equal to the given # TimezoneTransition. Two TimezoneTransition instances are # considered to be equal by eql? if offset, previous_offset and at are all # equal and the type used to define at in both instances is the same. def eql?(tti) tti.kind_of?(TimezoneTransition) && offset == tti.offset && previous_offset == tti.previous_offset && at.eql?(tti.at) end # Returns a hash of this TimezoneTransition instance. def hash @offset.hash ^ @previous_offset.hash ^ at.hash end # Returns internal object state as a programmer-readable string. def inspect "#<#{self.class}: #{at.inspect},#{@offset.inspect}>" end private def raise_not_implemented(method_name) raise NotImplementedError, "Subclasses must override #{method_name}" end end end
Close