⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Date
/
View File Name :
parse-c.ri
U:RDoc::AnyMethod[iI" parse:ETI"Date::parse;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"EParses the given representation of date and time, and creates a ;TI"date object.;To:RDoc::Markup::BlankLine o; ; [ I"EThis method **does not** function as a validator. If the input ;TI"Istring does not match valid formats strictly, you may get a cryptic ;TI"Eresult. Should consider to use `Date.strptime` instead of this ;TI"method as possible.;T@o; ; [I"IIf the optional second argument is true and the detected year is in ;TI"Ithe range "00" to "99", considers the year a 2-digit form and makes ;TI" it full.;T@o:RDoc::Markup::Verbatim; [I"CDate.parse('2001-02-03') #=> #
;TI"CDate.parse('20010203') #=> #
;TI"CDate.parse('3rd Feb 2001') #=> #
;T:@format0o; ; [I"KRaise an ArgumentError when the string length is longer than _limit_. ;TI"DYou can stop this check by passing `limit: nil`, but note that ;TI"&it may take a long time to parse.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"^Date.parse(string='-4712-01-01'[, comp=true[, start=Date::ITALY]], limit: 128) -> date ;T0[ I")(p1 = v1, p2 = v2, p3 = v3, p4 = {});T@%FI" Date;TcRDoc::NormalClass00