2023-04-03 Enrico Schumann * DESCRIPTION (Version): 0.6-1 * inst/tinytest/test.R (tfun): compare results from datetime conversion via text-representation (i.e. YYYYMMDD ...) 2023-04-01 Enrico Schumann * DESCRIPTION (Version): 0.6-0 2023-03-03 Enrico Schumann * data/tznames.txt: update timezone names 2023-01-09 Enrico Schumann * Scripts/tznames.R: remove duplicates 2022-07-01 Enrico Schumann * R/functions.R (guess_datetime): improve pattern for YYYYMMDD 2022-05-27 Enrico Schumann * R/functions.R (prev_bday, previous_businessday): argument 'holidays' is now supported (next_bday, next_businessday): argument 'holidays' is now supported (is_businessday): argument 'holidays' is now supported 2021-07-25 Enrico Schumann * R/functions.R (date1904): add function 2021-07-24 Enrico Schumann * R/functions.R (convert_date): add type "excel1904", for Excel files with origin 1904-01-01 2021-05-27 Enrico Schumann * NAMESPACE: export 'hour', 'minute' and 'second' 2021-05-04 Enrico Schumann * R/functions.R (guess_datetime): patterns in some cases required that a day be a two-digit number; now a single digit suffices. Example: ## old guess_datetime("3.5.2021", date.only = TRUE) ## [1] NA ## new guess_datetime("3.5.2021", date.only = TRUE) ## "2021-05-03" 2021-04-01 Enrico Schumann * DESCRIPTION (Version): 0.5-0 2021-03-17 Enrico Schumann * man/guess_datetime.Rd: remove reference to 'anytime' to avoid check-note 2021-02-24 Enrico Schumann * R/functions.R (guess_datetime): new argument 'try.patterns' * data/tznames.txt: update timezone names; remove duplicates 2021-02-11 Enrico Schumann * DESCRIPTION (Suggests): add 'tinytest' * R/functions.R (guess_datetime): use more explicit quantifiers (guess_datetime): fix use of 'tz' argument, which had been ignored 2020-09-03 Enrico Schumann * R/functions.R (hour, minute, second): add functions 2020-03-25 Enrico Schumann * DESCRIPTION (Version): 0.4-0 2020-02-21 Enrico Schumann * R/functions.R (guess_datetime): support also pattern "YYYYMMDD" (8 digits, starting with a 1 or 2) (guess_datetime): new arguments 'date.only', 'within' and 'tz' 2019-12-09 Enrico Schumann * R/data.R: add vectors 'month.name.de' and 'month.abb.de.din1355.1' 2019-12-01 Enrico Schumann * data/tznames: add dataframe 'tznames'; see ?tznames and the file data/tznames.txt for details 2019-05-14 Enrico Schumann * DESCRIPTION (Version): 0.3-1 * R/functions.R (nth_day): fix regexp that matches years (which also greatly improves performance) 2019-03-21 Enrico Schumann * DESCRIPTION (Version): 0.3-0 2019-03-20 Enrico Schumann * R/functions.R (nth_day): 'timestamps', 'start' and 'end' may be simple years. For start/end, they will be interpreted as 1 Jan/31 Dec of that year 2019-03-14 Enrico Schumann * R/functions.R (nth_day): support character month names 2019-02-13 Enrico Schumann * R/functions.R (end_of_quarter): add function 2018-02-28 Enrico Schumann * DESCRIPTION (Version): 0.2-12 * R/functions.R (nth_day): support 'n' of length > 1 2018-02-05 Enrico Schumann * DESCRIPTION (Version): 0.2-11 * R/functions.R (timegrid): rename argument: excludeWeekends => exclude.weekends [ This is for consistency with other functions, such as PMwR::plot_trading_hours ] (nth_day): support period "year" and "week"; 'n' may be numeric 2018-01-26 Enrico Schumann * DESCRIPTION (Version): 0.2-10 * R/functions.R (nth_day): unsorted 'timestamps' get automatically sorted (instead of raising an error) 2018-01-16 Enrico Schumann * R/functions.R (nth_day): support numeric 'period', which is interpreted as month 2018-01-05 Enrico Schumann * DESCRIPTION (Version): 0.2-9 2017-12-20 Enrico Schumann * R/functions.R (nth_day): fix computation when 'period' is "quarter"; add period "halfyear" 2017-12-13 Enrico Schumann * R/functions.R (nth_day): add function * NAMESPACE: export 'nth_day' * man/nth_day.Rd: add file 2017-10-20 Enrico Schumann * NAMESPACE: export month and year 2017-10-12 Enrico Schumann * R/functions.R (year, month): add functions 2017-10-11 Enrico Schumann * DESCRIPTION (Version): 0.2-8 * man/timegrid.Rd: minor change in example to avoid error on Solaris (CRAN check) 2017-09-10 Enrico Schumann * R/functions.R (convert_date): add support for SPSS/PSPP dates, based on a patch by J\"org Beyer 2017-08-24 Enrico Schumann * DESCRIPTION (Version): 0.2-7 * R/functions.R (last_weekday): support arguments 'before' and 'inclusive' * inst/unitTests/ut_datetime.R (test.last_weekday): add tests for last_weekday 2017-08-17 Enrico Schumann * DESCRIPTION (Version): 0.2-6 * R/functions.R (end_of_year): fix shift parameter (which had been applied to months instead of years) (end_of_previous_year): add function * inst/unitTests/ut_datetime.R (test.end_of_year, test.end_of_month): add test cases 2017-08-07 Enrico Schumann * DESCRIPTION (Version): 0.2-5 * vignettes/datetimeutils_examples.Rnw: add vignette 2017-07-09 Enrico Schumann * DESCRIPTION (Version): 0.2-4 * man/guess_datetime.Rd: update docs * DESCRIPTION (Version): 0.2-3 * R/functions.R (guess_datetime): rename function and export it 2017-07-07 Enrico Schumann * R/functions.R (guess_time): add function (not exported yet) 2017-07-06 Enrico Schumann * DESCRIPTION (Version): 0.2-2 * R/functions.R (timegrid): fix timezone handling 2017-06-26 Enrico Schumann * DESCRIPTION (Version): 0.2-1 * R/functions.R (timegrid): fix handling of 'excludeWeekends' (which had been ignored) and handling of timezone * inst/unitTests/ut_datetime.R (test.timegrid): add tests * man/*: several minor updates 2017-06-22 Enrico Schumann * R/functions.R (rfc822t): use 'month.abb' 2017-06-19 Enrico Schumann * README.md: add file * man/*: update docs 2017-06-14 Enrico Schumann * inst/unitTests/ut_datetime.R: fix unit tests, as many were broken because of the renaming of functions for version 0.2-0 2017-05-08 Enrico Schumann * DESCRIPTION (Version): 0.2-0 * R/functions.R: *BACKWARD* *INCOMPATIBLE* *CHANGES*: rename functions: convertDate => convert_date convertTZ => convert_tz dayOfMonth<- => day_of_month<- dayOfMonth => day_of_month endOfMonth => end_of_month endOfPreviousMonth => end_of_previous_month endOfYear => end_of_year firstOfMonth => first_of_month firstOfYear => first_of_year isBusinessDay => is_businessday isLeapyear => is_leapyear isWeekend => is_weekend lastWeekday => last_weekday nextBDay => next_bday nextBusinessDay => next_businessday nthWeekday => nth_weekday prevBDay => prev_bday previousBusinessDay => previous_businessday 2017-01-26 Enrico Schumann * DESCRIPTION (Description): expand package description 2016-10-08 Enrico Schumann * man/ update documentation; create separate help pages for various functions 2016-10-05 Enrico Schumann * DESCRIPTION (Version): 0.1-5 * R/functions.R (prevBDay, nextBDay): short-hands for 'previousBusinessDay' and 'nextBusinessDay' 2016-07-07 Enrico Schumann * DESCRIPTION (Version): 0.1-4 * R/functions.R (isBusinessDay): new function (nthWeekday): fixed -- the function had failed because it had relied on POSIXlt's 'wday', which is not updated when the POSIXlt object is manipulated * man/isWeekend.Rd: separate help page 2016-05-11 Enrico Schumann * DESCRIPTION (Version): 0.1-3 * R/functions.R (convertTZ): new function 2016-04-29 Enrico Schumann * DESCRIPTION (Version): 0.1-2 * R/functions.R (firstOfYear): new function 2016-02-22 Enrico Schumann * DESCRIPTION (Version): 0.1-1 * man/timegrid.Rd: separate help page 2015-12-09 Enrico Schumann * DESCRIPTION (Version): 0.1-0 * R/functions.R (endOfYear): new function 2015-10-29 Enrico Schumann * man/rfc822t.Rd: doc update 2015-10-20 Enrico Schumann * DESCRIPTION (Version): 0.0-5 2015-10-20 Enrico Schumann * R/functions.R (rfc822t): new argument 'include.dow'; function is renamed to rfc822t ('_RFC_ 822 date and _T_ime') and is now exported 2015-10-15 Enrico Schumann * R/functions.R (rfc822): new function; not yet exported 2015-10-06 Enrico Schumann * R/functions.R (reftimestamp): new function; not yet exported 2015-07-14 Enrico Schumann * DESCRIPTION (Version): 0.0-4 * inst/unitTests/ut_datetime.R (test.nextBusinessDay): added tests * man/previousBusinessDay.Rd: updated docs * R/functions.R (previousBusinessDay) (nextBusinessDay): new arguments 'shift' to get the shift-th previous or next business day. 2015-06-29 Enrico Schumann * DESCRIPTION (Version): 0.0-3 * R/functions.R (roundPOSIXt): new argument 'up' for rounding up * man/roundPOSIXt.Rd: updated and moved documentation 2015-05-15 Enrico Schumann * DESCRIPTION (Version): 0.0-2 * man/convertDate.Rd: added documentation 2015-05-12 Enrico Schumann * DESCRIPTION (Version): 0.0-1 -- Initial version