OfficeExifTimestamp
OfficeIMO.Drawing
A parsed Exif timestamp that preserves its source strings and timezone uncertainty.
Inheritance
- object
- OfficeExifTimestamp
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Methods
public static OfficeExifTimestamp Parse(string rawValue, string? rawOffset = null, string? rawSubseconds = null) #Parses Exif date, offset and subseconds without assigning an absent timezone.
Parameters
- rawValue string
- rawOffset string? = null
- rawSubseconds string? = null
Returns
OfficeExifTimestampInherited Methods
Properties
public string FieldName { get; internal set; } #Originating timestamp tag name when returned by image inspection.
public string? Source { get; internal set; } #Originating profile location when returned by image inspection.
public string? RawOffset { get; } #Original offset string, or null when absent.
public string? RawSubseconds { get; } #Original fractional-second string, or null when absent.
public DateTime? LocalDateTime { get; } #Local wall-clock value with DateTimeKind.Unspecified, or null when invalid.
public DateTimeOffset? Instant { get; } #Offset-qualified instant, or null when the timezone is unknown or any timestamp component is invalid.
public bool HasKnownTimezone { get; } #Whether the source supplies a valid explicit timezone offset.
public bool IsValid { get; } #Whether every supplied component is valid.
public string? Issue { get; } #Stable parse/precision diagnostic, or null.
public bool IsDateUnknown { get; } #Whether the source uses Exif's blank representation of an unknown date.