calendar vocabulary
Factor handbook » Vocabulary index


Documentation
Calendar

Metadata
Tags:time
Authors:Doug Coleman


Words

Error classes
ClassSuperclassSlots
Image not-in-intervalImage tuplevalue interval


Tuple classes
ClassSuperclassSlots
Image durationImage tupleyear month day hour minute second
Image timestampImage tupleyear month day hour minute second gmt-offset


Generic words
WordStack effect
Image april( obj -- timestamp' )
Image august( obj -- timestamp' )
Image days-in-year( obj -- n )
Image december( obj -- timestamp' )
Image easter( obj -- obj' )
Image february( obj -- timestamp' )
Image first-day-of-year( object -- timestamp )
Image gmt-offset( -- hours minutes seconds )
Image january( obj -- timestamp' )
Image july( obj -- timestamp' )
Image june( obj -- timestamp' )
Image last-day-of-year( object -- timestamp )
Image leap-year?( obj -- ? )
Image march( obj -- timestamp' )
Image may( obj -- timestamp' )
Image november( obj -- timestamp' )
Image now-gmt( -- timestamp )
Image october( obj -- timestamp' )
Image september( obj -- timestamp' )
Image time+( time1 time2 -- time3 )
Image time-( time1 time2 -- time3 )
Image weeks-in-week-year( obj -- n )


Ordinary words
WordStack effect
Image (day-of-week)( year month day -- n )
Image (day-of-year)( $year $month $day -- n )
Image (days-in-month)( year month -- n )
Image (week-number)( timestamp -- [0,53] )
Image <date-gmt>( year month day -- timestamp )
Image <date-utc>( year month day -- timestamp )
Image <date>( year month day -- timestamp )
Image <duration>( year month day hour minute second -- duration )
Image <timestamp>( $year $month $day $hour $minute $second $gmt-offset -- timestamp )
Image <year-gmt>( year -- timestamp )
Image <year-utc>( year -- timestamp )
Image <year>( year -- timestamp )
Image >date<( timestamp -- year month day )
Image >gmt( timestamp -- timestamp' )
Image >local-time( timestamp -- timestamp' )
Image >time<( timestamp -- hour minute second )
Image >timezone( timestamp duration -- timestamp' )
Image >utc( timestamp -- timestamp' )
Image ages( x -- duration )
Image ago( duration -- timestamp )
Image am( timestamp n -- timestamp' )
Image april?( timestamp -- ? )
Image august?( timestamp -- ? )
Image average-month( -- value )
Image before( duration -- -duration )
Image bienniums( x -- duration )
Image centuries( x -- duration )
Image check-interval( value interval -- value )
Image closest-friday( timestamp -- timestamp' )
Image closest-monday( timestamp -- timestamp' )
Image closest-saturday( timestamp -- timestamp' )
Image closest-sunday( timestamp -- timestamp' )
Image closest-thursday( timestamp -- timestamp' )
Image closest-tuesday( timestamp -- timestamp' )
Image closest-wednesday( timestamp -- timestamp' )
Image convert-gmt( timestamp -- timestamp )
Image convert-local-time( timestamp -- timestamp )
Image convert-timezone( timestamp duration -- timestamp )
Image convert-utc( timestamp -- timestamp )
Image day-of-week( timestamp -- n )
Image day-of-year( timestamp -- n )
Image day<( timestamp quot -- timestamp' )
Image day<=( timestamp quot -- timestamp' )
Image day>( timestamp quot -- timestamp' )
Image day>=( timestamp quot -- timestamp' )
Image days( x -- duration )
Image days-in-month( timestamp -- n )
Image days-per-year( -- value )
Image days-since( time -- n )
Image days-until( time -- n )
Image decades( x -- duration )
Image december?( timestamp -- ? )
Image duration*( obj1 obj2 -- obj3 )
Image duration+( duration1 duration2 -- duration3 )
Image duration-( duration1 duration2 -- duration3 )
Image duration>days( duration -- x )
Image duration>hours( duration -- x )
Image duration>microseconds( duration -- x )
Image duration>milliseconds( duration -- x )
Image duration>minutes( duration -- x )
Image duration>months( duration -- x )
Image duration>nanoseconds( duration -- x )
Image duration>seconds( duration -- x )
Image duration>years( duration -- x )
Image easter-month-day( $year -- month day )
Image end-of-century( object -- timestamp )
Image end-of-day( timestamp -- timestamp' )
Image end-of-decade( object -- timestamp )
Image end-of-hour( timestamp -- timestamp' )
Image end-of-millennium( object -- timestamp )
Image end-of-minute( timestamp -- timestamp' )
Image end-of-month( timestamp -- timestamp' )
Image end-of-quarter( timestamp -- timestamp' )
Image end-of-second( timestamp -- timestamp' )
Image end-of-week( timestamp -- timestamp' )
Image end-of-year( object -- timestamp )
Image eons( x -- duration )
Image epochs( x -- duration )
Image eras( x -- duration )
Image ereyesterday( -- timestamp )
Image february?( timestamp -- ? )
Image first-day-of-century( object -- timestamp' )
Image first-day-of-decade( object -- timestamp' )
Image first-day-of-millennium( object -- timestamp' )
Image first-day-of-month( timestamp -- timestamp' )
Image first-day-of-week( timestamp -- timestamp' )
Image fortnight( x -- duration )
Image friday( timestamp -- timestamp' )
Image friday-of-month( timestamp n -- timestamp' )
Image friday<( timestamp -- timestamp' )
Image friday<=( timestamp -- timestamp' )
Image friday>( timestamp -- timestamp' )
Image friday>=( timestamp -- timestamp' )
Image friday?( timestamp -- ? )
Image giga-annum( x -- duration )
Image gmt( timestamp -- timestamp )
Image gmt-offset-duration( -- duration )
Image hence( duration -- timestamp )
Image hours( x -- duration )
Image hours-per-year( -- value )
Image indictions( x -- duration )
Image instant( -- duration )
Image january?( timestamp -- ? )
Image jubilees( x -- duration )
Image julian-day-number( $year $month $day -- n )
Image julian-day-number>date( $n -- year month day )
Image july?( timestamp -- ? )
Image june?( timestamp -- ? )
Image kila-annum( x -- duration )
Image last-day-of-century( object -- timestamp' )
Image last-day-of-decade( object -- timestamp' )
Image last-day-of-millennium( object -- timestamp' )
Image last-day-of-month( timestamp -- timestamp' )
Image last-day-of-week( timestamp -- timestamp' )
Image last-friday( timestamp -- timestamp' )
Image last-friday-of-month( timestamp -- timestamp' )
Image last-monday( timestamp -- timestamp' )
Image last-monday-of-month( timestamp -- timestamp' )
Image last-saturday( timestamp -- timestamp' )
Image last-saturday-of-month( timestamp -- timestamp' )
Image last-sunday( timestamp -- timestamp' )
Image last-sunday-of-month( timestamp -- timestamp' )
Image last-thursday( timestamp -- timestamp' )
Image last-thursday-of-month( timestamp -- timestamp' )
Image last-tuesday( timestamp -- timestamp' )
Image last-tuesday-of-month( timestamp -- timestamp' )
Image last-wednesday( timestamp -- timestamp' )
Image last-wednesday-of-month( timestamp -- timestamp' )
Image local-time( timestamp -- timestamp )
Image lustrums( x -- duration )
Image march?( timestamp -- ? )
Image may?( timestamp -- ? )
Image mega-annum( x -- duration )
Image micros>timestamp( x -- timestamp )
Image microseconds( x -- duration )
Image midnight( timestamp -- timestamp' )
Image millennia( x -- duration )
Image millenniums( x -- duration )
Image millis>timestamp( x -- timestamp )
Image milliseconds( x -- duration )
Image minutes( x -- duration )
Image minutes-per-year( -- value )
Image monday( timestamp -- timestamp' )
Image monday-of-month( timestamp n -- timestamp' )
Image monday<( timestamp -- timestamp' )
Image monday<=( timestamp -- timestamp' )
Image monday>( timestamp -- timestamp' )
Image monday>=( timestamp -- timestamp' )
Image monday?( timestamp -- ? )
Image months( x -- duration )
Image months-per-year( -- value )
Image nanoseconds( x -- duration )
Image next-friday( timestamp -- timestamp' )
Image next-monday( timestamp -- timestamp' )
Image next-saturday( timestamp -- timestamp' )
Image next-sunday( timestamp -- timestamp' )
Image next-thursday( timestamp -- timestamp' )
Image next-tuesday( timestamp -- timestamp' )
Image next-wednesday( timestamp -- timestamp' )
Image noon( timestamp -- timestamp' )
Image not-in-interval( value interval -- * )
Image november?( timestamp -- ? )
Image novenniums( x -- duration )
Image now( -- timestamp )
Image now-utc( -- timestamp )
Image o'clock( timestamp n -- timestamp' )
Image octenniums( x -- duration )
Image october?( timestamp -- ? )
Image overmorrow( -- timestamp )
Image pm( timestamp n -- timestamp' )
Image quadrenniums( x -- duration )
Image quarter( timestamp -- [1,4] )
Image quinquenniums( x -- duration )
Image same-day-of-year?( ts1 ts2 -- ? )
Image same-day?( ts1 ts2 -- ? )
Image same-hour?( ts1 ts2 -- ? )
Image same-minute?( ts1 ts2 -- ? )
Image same-month?( ts1 ts2 -- ? )
Image same-or-next-business-day( timestamp -- timestamp' )
Image same-or-previous-business-day( timestamp -- timestamp' )
Image same-quarter?( ts1 ts2 -- ? )
Image same-second?( ts1 ts2 -- ? )
Image same-week?( ts1 ts2 -- ? )
Image same-year?( ts1 ts2 -- ? )
Image saturday( timestamp -- timestamp' )
Image saturday-of-month( timestamp n -- timestamp' )
Image saturday<( timestamp -- timestamp' )
Image saturday<=( timestamp -- timestamp' )
Image saturday>( timestamp -- timestamp' )
Image saturday>=( timestamp -- timestamp' )
Image saturday?( timestamp -- ? )
Image score( x -- duration )
Image seconds( x -- duration )
Image seconds-per-year( -- value )
Image september?( timestamp -- ? )
Image septenniums( x -- duration )
Image set-date( timestamp year month day -- timestamp )
Image set-time( timestamp hour minute second -- timestamp )
Image sexenniums( x -- duration )
Image since-1970( duration -- timestamp )
Image solar-noon( timestamp longitude -- new-timestamp )
Image start-of-day( timestamp -- timestamp' )
Image start-of-decade( object -- timestamp )
Image start-of-hour( timestamp -- timestamp' )
Image start-of-millennium( object -- timestamp )
Image start-of-minute( timestamp -- timestamp' )
Image start-of-month( timestamp -- timestamp' )
Image start-of-quarter( timestamp -- timestamp' )
Image start-of-second( timestamp -- timestamp' )
Image start-of-week( timestamp -- timestamp' )
Image start-of-year( object -- timestamp )
Image sunday( timestamp -- timestamp' )
Image sunday-of-month( timestamp n -- timestamp' )
Image sunday<( timestamp -- timestamp' )
Image sunday<=( timestamp -- timestamp' )
Image sunday>( timestamp -- timestamp' )
Image sunday>=( timestamp -- timestamp' )
Image sunday?( timestamp -- ? )
Image sunrise( timestamp latitude longitude -- new-timestamp )
Image sunset( timestamp latitude longitude -- new-timestamp )
Image thursday( timestamp -- timestamp' )
Image thursday-of-month( timestamp n -- timestamp' )
Image thursday<( timestamp -- timestamp' )
Image thursday<=( timestamp -- timestamp' )
Image thursday>( timestamp -- timestamp' )
Image thursday>=( timestamp -- timestamp' )
Image thursday?( timestamp -- ? )
Image time-since-midnight( timestamp -- duration )
Image timestamp>micros( timestamp -- n )
Image timestamp>millis( timestamp -- n )
Image timestamp>unix-time( timestamp -- seconds )
Image timestamp>year-dates-gmt( timestamp -- seq )
Image today( -- timestamp )
Image today?( timestamp -- ? )
Image tomorrow( -- timestamp )
Image tomorrow?( timestamp -- ? )
Image trienniums( x -- duration )
Image tuesday( timestamp -- timestamp' )
Image tuesday-of-month( timestamp n -- timestamp' )
Image tuesday<( timestamp -- timestamp' )
Image tuesday<=( timestamp -- timestamp' )
Image tuesday>( timestamp -- timestamp' )
Image tuesday>=( timestamp -- timestamp' )
Image tuesday?( timestamp -- ? )
Image unix-1970( -- timestamp )
Image unix-time>timestamp( seconds -- timestamp )
Image utc( timestamp -- timestamp )
Image utc-offset( -- hours minutes seconds )
Image wednesday( timestamp -- timestamp' )
Image wednesday-of-month( timestamp n -- timestamp' )
Image wednesday<( timestamp -- timestamp' )
Image wednesday<=( timestamp -- timestamp' )
Image wednesday>( timestamp -- timestamp' )
Image wednesday>=( timestamp -- timestamp' )
Image wednesday?( timestamp -- ? )
Image week-number( timestamp -- [1,53] )
Image weekday?( timestamp -- ? )
Image weekdays-between( date1 date2 -- n )
Image weekend?( timestamp -- ? )
Image weeks( x -- duration )
Image year-ordinal>timestamp( year ordinal -- timestamp )
Image year<( timestamp quot -- timestamp' )
Image year<=( timestamp quot -- timestamp' )
Image year>( timestamp quot -- timestamp' )
Image year>=( timestamp quot -- timestamp' )
Image years( x -- duration )
Image yesterday( -- timestamp )
Image yesterday?( timestamp -- ? )
Image ymd>ordinal( year month day -- ordinal )


Class predicate words
WordStack effect
Image duration?( object -- ? )
Image not-in-interval?( object -- ? )
Image timestamp?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
Image calendar.englishEnglish names for time concepts
Image calendar.formatFormatting dates and times
Image calendar.parserParsing dates and times
Image calendar.threads
Image calendar.unixUnix-specific timezone support and C library time data types
Image calendar.windowsWindows-specific timezone support


Children from resource:extra
VocabularySummary
Image calendar.holidays
Image calendar.ranges