module Iom::PHP::Strtotime

Defined in:

Strtotime/format_parsers.cr
Strtotime/formatter_bag.cr
Strtotime/lookup_month.cr
Strtotime/lookup_relative.cr
Strtotime/lookup_weekday.cr
Strtotime/php-strtotime.cr
Strtotime/process_meridian.cr
Strtotime/process_tz_correction.cr
Strtotime/process_year.cr
Strtotime/result.cr
Strtotime/result_builder.cr
php-strtotime.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.lookup_month(month : String) : Int32 | Nil #

[View source]
def self.lookup_relative(reltext : String) : Relative #

[View source]
def self.lookup_weekday(day_s : String, desired_sunday_number = 0_i16) : Int16 #

[View source]
def self.process_meridian(hour, meridian : String | Nil) #

[View source]
def self.process_tz_correction(tz_offset : String) : Int64 #

[View source]
def self.process_year(year_s : String | Nil) : Int32 #

[View source]
def self.strtotime(str : String, now : Int64) : Int64 | Nil #

[View source]
def self.strtotime(str : String, now : Time = Time.utc) : Time | Nil #

[View source]