PdfDate

data class PdfDate(val year: Int, val month: Int, val day: Int, val hour: Int, val minute: Int, val second: Int, val tzSign: Char, val tzHour: Int, val tzMinute: Int)

A PDF date-time (ISO 32000-1 §7.9.4): D:YYYYMMDDHHmmSSOHH'mm'.

Each component except year is optional; missing tail bytes default to the smallest sensible value (1 for month/day, 0 otherwise). The D: prefix is also optional in practice (writers occasionally omit it).

tzSign is one of '+', '-', 'Z'. 'Z' means UTC and forces the hour/minute offsets to zero.

Constructors

Link copied to clipboard
constructor(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, tzSign: Char, tzHour: Int, tzMinute: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val day: Int
Link copied to clipboard
val hour: Int
Link copied to clipboard
val minute: Int
Link copied to clipboard
val month: Int
Link copied to clipboard
val second: Int
Link copied to clipboard
val tzHour: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val year: Int

Functions

Link copied to clipboard
open override fun toString(): String

Reformat back to PDF wire-form.