Partial Datetime Handling
Wrapper for lubridate as.interval
Wrapper for lubridate as.interval
Coerce an object to a parttime object
Cast an object to a timespan
Concatenate parttimes
Determine whether a partial_time logical matrix is definitely TRUE
"Definitely" generic for resolving uncertainty
parttime vector dimensions
shorthand for converting dimnames to indices, for easier column subtra...
end S3 generic
Equal comparison handler for partial_time objects
Similar to matrix and array [
behavior, but allows for providing a n...
Format a parttime object
parttime pillar formatting
Format individual components of a parttime matrix
Test whether a partial_time object is incomplete
Test whether a partial_time object's date components are incomplete
Test whether a partial_time object's time components are incomplete
Impute a partial time object with a timestamp or specific fields
Test for whether a timestamp could be included within parttime uncerta...
Determine whether a partial time contains an object
Determine whether one object includes another
Check if elements of a partial time vector is NA
Check if elements of a partial time vector is NA
Shorthand for checking timespan inheritance
Shorthand for checking partial time inheritance
Shorthand for checking timespan inheritance
Get the maximum of a parttime vector
Get the minimum of aparttime vector
Not-equal comparison handler for partial_time objects
Normalize days in month back to day limit for a given month
parttime data output
parttime footer
parttime output header
Handler for Ops generics for partial_time objects
Handler for Ops generics for timespan objects
Format a message communicating parse failure information
Inspecting and manipulating intermediate iso8601 matrices
Parse an iso8601 datetime to a parttime-like matrix
Parse cdisc datetime strings as parttime matrix
Create a parttime object
Datetime component access and assignment functions
Indexing operators for partial_time objects
This class is purely for retaining logical information for immediate t...
parttime as pillar shaft
Addition of a lubridate Period to a parttime partial_time
Get the elementwise maximum of parttime vectors
Maxima and Minima
Get the elementwise minimum of parttime vectors
Maxima and Minima
Determine whether a partial_time logical matrix is possibly TRUE
"Possibly" generic for resolving uncertainty
Propegate field missingness from higher to lower resolution
Regular expression for CDISC-style datetime parsing
slightly modified from parsedate - added 'secfrac' capture group
Reflow potentially invalid time components to adjacent fields
Export S3 generics only if as-of-yet unknown
Find unique forms of inputs
Find unique forms of missingness
start S3 generic
Create a partial timespan object
Generic for coercing timestamps to GMT timezone
Shorten a timespan
parttime type name
Cast partial time to logical
Coerce character date representations to parttime objects
Default handler for casting to a partial time
Cast a matrix to a partial time
Cast to partial time object
Cast partial time to timespan, representing uncertainty as a range
Default handler for casting to a timespan
Cast an array to a timespan
Cast an array to a timespan
Cast partial time to timespan, representing uncertainty as a range
Cast to timespan object
Abbreviated partial time class name
Full parttime class name
Datetimes and timestamps are invariably an imprecise notation, with any partial representation implying some amount of uncertainty. To handle this, 'parttime' provides classes for embedding partial missingness as a central part of its datetime classes. This central feature allows for more ergonomic use of datetimes for challenging datetime computation, including calculations of overlapping date ranges, imputations, and more thoughtful handling of ambiguity that arises from uncertain time zones. This package was developed first and foremost with pharmaceutical applications in mind, but aims to be agnostic to application to accommodate general use cases just as conveniently.
Useful links