diff --git a/src/UglyToad.PdfPig/Util/DateFormatHelper.cs b/src/UglyToad.PdfPig/Util/DateFormatHelper.cs index c0c089ec..9f4f01f2 100644 --- a/src/UglyToad.PdfPig/Util/DateFormatHelper.cs +++ b/src/UglyToad.PdfPig/Util/DateFormatHelper.cs @@ -2,8 +2,20 @@ { using System; - internal static class DateFormatHelper + /// + /// Helper class for dates. + /// + public static class DateFormatHelper { + /// + /// Try parsing a pdf formated date string into a . + /// Date values used in a PDF shall conform to a standard date format, which closely + /// follows that of the international standard ASN.1, defined in ISO/IEC 8824. A date shall be a text string + /// of the form (D:YYYYMMDDHHmmSSOHH'mm). + /// + /// The pdf formated date string, e.g. D:199812231952-08'00. + /// The parsed date. + /// True if parsed. public static bool TryParseDateTimeOffset(string s, out DateTimeOffset offset) { offset = DateTimeOffset.MinValue;