calendar.format vocabulary
Factor handbook > Vocabulary index


Summary
Formatting dates and times

Words

Tuple classes
ClassSuperclassSlots
invalid-timestamp-format tuple


Generic words
WordStack effect
day.( obj -- )
month.( obj -- )
year.( obj -- )


Ordinary words
WordStack effect
(cookie-string>timestamp-1)( -- timestamp )
(cookie-string>timestamp-2)( -- timestamp )
(hms>timestamp)( -- timestamp )
(rfc3339>timestamp)( -- timestamp )
(rfc822>timestamp)( -- timestamp )
(timestamp>cookie-string)( timestamp -- )
(timestamp>hm)( timestamp -- )
(timestamp>hms)( timestamp -- )
(timestamp>rfc3339)( timestamp -- )
(timestamp>string)( timestamp -- )
(timestamp>ymd)( timestamp -- )
(write-rfc3339-gmt-offset)( duration -- )
(ymd>timestamp)( -- timestamp )
(ymdhms>timestamp)( -- timestamp )
D( time -- )
DAY( time -- )
DD( time -- )
MM( time -- )
MONTH( time -- )
YYYY( time -- )
YYYYY( time -- )
check-day-name( str -- )
check-timestamp( obj/f -- obj )
checked-number( str -- n )
cookie-string>timestamp( str -- timestamp )
cookie-string>timestamp-1( str -- timestamp )
cookie-string>timestamp-2( str -- timestamp )
duration>hm( duration: duration -- string )
duration>human-readable( duration: duration -- string )
expect( str -- )
file-time-string( timestamp -- string )
hh( time -- )
hhmm>timestamp( hhmm -- timestamp )
hm>timestamp( str -- timestamp )
hms>timestamp( str -- timestamp )
invalid-timestamp-format( -- * )
mm( time -- )
pad-00( n -- str )
pad-0000( n -- str )
pad-00000( n -- str )
parse-rfc822-gmt-offset( string -- dt )
read-00( -- n )
read-000( -- n )
read-0000( -- n )
read-hms( -- h m s )
read-rfc3339-gmt-offset( ch -- dt )
read-rfc3339-seconds( s -- s' ch )
read-sp( -- token )
read-token( seps -- token )
read-ymd( -- y m d )
rfc3339>timestamp( str -- timestamp )
rfc822>timestamp( str -- timestamp )
signed-gmt-offset( dt ch -- dt' )
ss( time -- )
ss.SSSSSS( timestamp -- )
timestamp>cookie-string( timestamp -- str )
timestamp>git-time( timestamp -- str )
timestamp>hm( timestamp: timestamp -- str )
timestamp>hms( timestamp: timestamp -- str )
timestamp>http-string( timestamp -- str )
timestamp>mdtm( timestamp -- str )
timestamp>rfc3339( timestamp -- str )
timestamp>rfc822( timestamp -- str )
timestamp>string( timestamp -- str )
timestamp>ymd( timestamp: timestamp -- str )
timestamp>ymdhms( timestamp: timestamp -- str )
write-00( n -- )
write-0000( n -- )
write-00000( n -- )
write-gmt-offset( gmt-offset -- )
write-gmt-offset-number( gmt-offset -- )
write-hhmm( duration -- )
write-rfc3339-gmt-offset( duration -- )
ymd>timestamp( str -- timestamp )
ymdhms>timestamp( str -- timestamp )


Class predicate words
WordStack effect
invalid-timestamp-format?( object -- ? )


Files


Children from resource:basis
VocabularySummary
calendar.format.macrosImplementation details for calendar.format