NAME
Sidef::Time::Date
DESCRIPTION
This class implements ...
SYNOPSIS
var obj = Date(...)
INHERITS
Inherits methods from:
* Sidef::Object::Object
METHODS
!=
a != b
Returns the
Aliases: ne
+
a + b
Returns the
Aliases: add, add_seconds
-
a - b
Returns the
Aliases: sub, subtract
<
a < b
Returns the
Aliases: lt
<=
a <= b
Returns the
Aliases: le
<=>
a <=> b
Returns the
Aliases: cmp
==
a == b
Returns the
Aliases: eq
>
a > b
Returns the
Aliases: gt
>=
a >= b
Returns the
Aliases: ge
add_days
self.add_days(days)
Returns the
add_months
self.add_months(months)
Returns the
add_years
self.add_years(years)
Returns the
call
self.call
Returns the
date
self.date
Returns the
day
self.day
Returns the
Aliases: mday, month_day
dmy
self.dmy
Returns the
dump
self.dump
Returns the
epoch
self.epoch
Returns the
format
self.format(format)
Returns the
Aliases: strftime
fullmonth
self.fullmonth
Returns the
gmt
self.gmt(sec)
Returns the
Aliases: gmtime
hour
self.hour
Returns the
isdst
self.isdst
Returns the
Aliases: daylight_savings
julian_day
self.julian_day
Returns the
local
self.local(sec)
Returns the
Aliases: localtime
mdy
self.mdy
Returns the
min
self.min
Returns the
Aliases: minute
mon
self.mon
Returns the
Aliases: month
monname
self.monname
Returns the
month_last_day
self.month_last_day
Returns the
now
self.now
Returns the
Aliases: today
parse
self.parse(string, format)
Returns the
Aliases: strptime
sec
self.sec
Returns the
Aliases: second
time
self.time
Returns the
to_s
self.to_s
Returns the
Aliases: cdate, ctime, to_str
truncate_to_day
self.truncate_to_day
Returns the
truncate_to_hour
self.truncate_to_hour
Returns the
truncate_to_minute
self.truncate_to_minute
Returns the
truncate_to_month
self.truncate_to_month
Returns the
truncate_to_quarter
self.truncate_to_quarter
Returns the
truncate_to_second
self.truncate_to_second
Returns the
truncate_to_year
self.truncate_to_year
Returns the
valid
self.valid(string, format)
Returns the
Aliases: valid_date
wday
self.wday
Returns the
Aliases: week_day
wdayname
self.wdayname
Returns the
week
self.week
Returns the
yday
self.yday
Returns the
Aliases: year_day
year
self.year
Returns the
ymd
self.ymd
Returns the
yy
self.yy
Returns the