Changes in version 0.3.0.9000 Changes in version 0.3.0 (2025-08-23) - New seq.jdatetime() generates regular sequences of Jalali date-times. - Rounding family of functions (sh_floor(), sh_ceiling() and sh_round()) now accept jdatetime inputs. - Fixed an issue where jdatetime objects did not span the entire predefined value range. - Due to changes in upstream packages, negative years such as -1000-01-01 will no longer parse with %Y-%m-%d, and instead require %5Y-%m-%d or %5F to capture the - prefix (#8). Changes in version 0.2.1 (2024-07-19) - Default formatting for jdatetime objects is changed to conform to default R behavior. - jdate and jdatetime vectors are printed more nicely in tibbles. - Rounding family of functions (sh_floor(), sh_ceiling() and sh_round()) now accept multi-unit values for unit argument. - jdatetime() and jdatetime_make() now support ambiguous time resolution strategies via ambiguous argument (ambiguous times occur during a repeated interval when the clock is adjusted backwards during the transition from DST to standard time). - Fixed a bug regarding casting of jdatetime to jdate (#4). Changes in version 0.2.0 (2024-03-16) - New sh_year_is_leap() determines if a Jalali year is a leap year. - New accessor and replacement functions are added to get/set the components of Jalali date-time objects. - New family of functions for rounding Jalali dates to a specific unit of time: - sh_floor() rounds a jdate object down to the previous unit of time. - sh_ceiling() rounds a jdate object up to the next unit of time. - sh_round() rounds a jdate object up or down, depending on what is closer. - New seq.jdate() generates regular sequences of Jalali dates. - as.POSIXlt() now errors with jdate and jdatetime input. In order to cast jdate and jdatetime to POSIXlt, first, they should be converted to Date and POSIXct respectively. - jdate() now truncates numeric input toward zero before generating a jdate object. - jdatetime() now truncates numeric input toward zero before generating a jdatetime object. - Fixed a bug where names were dropped after calling format() upon a jdate or jdatetime object. Changes in version 0.1.2 (2024-01-15) - Initial CRAN submission. - Added a NEWS.md file to track changes to the package.