Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeExifTimestamp

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Source revision a0f47aa4f111 with working tree changes
Modifiers sealed

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.

Methods

public static OfficeExifTimestamp Parse(String rawValue, String? rawOffset = null, String? rawSubseconds = null) #
Returns: OfficeExifTimestamp

Parses Exif date, offset and subseconds without assigning an absent timezone.

Parameters

rawValue System.String requiredposition: 0
rawOffset System.String? = null optionalposition: 1
rawSubseconds System.String? = null optionalposition: 2

Properties

public String RawValue { get; } #

Original decoded date string.

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 Boolean HasKnownTimezone { get; } #

Whether the source supplies a valid explicit timezone offset.

public Boolean IsValid { get; } #

Whether every supplied component is valid.

public String? Issue { get; } #

Stable parse/precision diagnostic, or null.

public Boolean IsDateUnknown { get; } #

Whether the source uses Exif's blank representation of an unknown date.