Handbook
Glossary
parse-day ( str -- n )
Vocabulary
crontab
.
private
Inputs
str
an
object
Outputs
n
an
object
Definition
USING:
ascii
kernel
math.parser
sequences
;
IN:
crontab.private
:
parse-day
( str -- n )
[
string>number
dup
7
=
[
drop
0
]
when
]
[
>lower
{
"sun"
"mon"
"tue"
"wed"
"thu"
"fri"
"sat"
}
index
]
?unless
;