⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.165
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Date
/
View File Name :
valid_commercial%3f-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Do year <tt>y</tt>, week-of-year <tt>w</tt>, and day-of-week <tt>d</tt> make a valid Commercial Date? Returns the corresponding Julian Day Number if they do, nil if they don't. - !ruby/struct:SM::Flow::P body: Monday is day-of-week 1; Sunday is day-of-week 7. - !ruby/struct:SM::Flow::P body: <tt>w</tt> and <tt>d</tt> can be negative, in which case they count backwards from the end of the year and the end of the week respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. A date falling in the period skipped in the Day of Calendar Reform adjustment is not valid. - !ruby/struct:SM::Flow::P body: <tt>sg</tt> specifies the Day of Calendar Reform. full_name: Date::valid_commercial? is_singleton: true name: valid_commercial? params: (y, w, d, sg=ITALY) visibility: public