Creates a new DateEntry instance.
Object containing entry properties
The date string in YYYY-MM-DD format
OptionalcommentOptional comment text associated with this entry
The custom directive type
The date of this entry as a Temporal.PlainDate object
Internal metadata key-value pairs associated with this entry. These can be anything, are not used in the output, and are meant to be used to allow your pipeline to keep track of an internal property
OptionalmetadataOptional metadata key-value pairs associated with this entry
The type of this dated entry
OptionalvaluesOptional array of values associated with the custom directive
ProtectedgetReturns the common prefix for all DateEntry toString methods.
Format: "YYYY-MM-DD
The formatted date and type prefix string
Converts metadata and comment to a formatted string. If metadata exists, each key-value pair is formatted on separate indented lines.
The formatted metadata and comment string, or empty string if neither exists
ProtectedparseTransforms JSON data before creating an Entry instance. Default implementation returns the input unchanged. Subclasses can override this to handle custom deserialization logic (e.g., converting nested objects, handling dates, etc.).
The JSON data to transform
The transformed data ready for the constructor
Converts this entry to a formatted string with aligned columns. Default implementation delegates to toString(). Subclasses can override for custom formatting.
Formatting options (unused in base implementation)
The formatted string representation of this entry
StaticfromCreates a Custom instance from a generic parse result.
The parsed custom entry data
A new Custom instance
StaticfromStaticfromStaticfrom
Represents a Custom entry for user-defined directives. Custom directives allow for extensibility with arbitrary types and values.