Skip to main content
Skip table of contents

XmpDateTimeImpl

XmpDateTimeImpl Public class

Description

The implementation of ...

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.xmp.impl
  iTextSharp.xmp.impl.XmpDateTimeImpl[[XmpDateTimeImpl]]
  end
  subgraph iTextSharp.xmp
  iTextSharp.xmp.IXmpDateTime[[IXmpDateTime]]
  class iTextSharp.xmp.IXmpDateTime interfaceStyle;
  end
  subgraph System
System.IComparable[[IComparable]]
  end
iTextSharp.xmp.IXmpDateTime --> iTextSharp.xmp.impl.XmpDateTimeImpl
System.IComparable --> iTextSharp.xmp.IXmpDateTime

Members

Properties

Public properties
TypeNameMethods
XmpCalendarCalendarget
intDayget, set
intHourget, set
stringIso8601Stringget
intMinuteget, set
intMonthget, set
intNanoSecondget, set
intSecondget, set
TimeZoneTimeZoneget, set
intYearget, set

Methods

Public methods
ReturnsName
intCompareTo(object dt)
boolHasDate()
boolHasTime()
boolHasTimeZone()
stringToString()

Details

Summary

The implementation of

XMPDateTime

. Internally a

calendar

is used plus an additional nano seconds field, because

Calendar

supports only milli seconds. The

nanoSeconds

Inheritance

Constructors

XmpDateTimeImpl [1/4]

Source code

public XmpDateTimeImpl()
Summary

Creates an

XMPDateTime
XmpDateTimeImpl [2/4]

Source code

public XmpDateTimeImpl(XmpCalendar calendar)
Arguments
TypeNameDescription
XmpCalendarcalendara ...
Summary

Creates an

XMPDateTime
XmpDateTimeImpl [3/4]

Source code

public XmpDateTimeImpl(DateTime date, TimeZone timeZone)
Arguments
TypeNameDescription
DateTimedatea date describing an absolute point in time
TimeZonetimeZonea TimeZone how to interpret the date
Summary

Creates an

XMPDateTime

-instance from a

Date

and a

TimeZone
XmpDateTimeImpl [4/4]

Source code

public XmpDateTimeImpl(string strValue)
Arguments
TypeNameDescription
stringstrValuean ISO 8601 string
Summary

Creates an

XMPDateTime
Exceptions
NameDescription
XmpExceptionIf the string is a non-conform ISO 8601 string, an exception is thrown

Methods

CompareTo

Source code

public virtual int CompareTo(object dt)
Arguments
TypeNameDescription
objectdt
HasDate

Source code

public virtual bool HasDate()
HasTime

Source code

public virtual bool HasTime()
HasTimeZone

Source code

public virtual bool HasTimeZone()
ToString

Source code

public override string ToString()
Returns

Returns the ISO string representation.

Properties

Year
public virtual int Year { get; set; }
Month
public virtual int Month { get; set; }
Day
public virtual int Day { get; set; }
Hour
public virtual int Hour { get; set; }
Minute
public virtual int Minute { get; set; }
Second
public virtual int Second { get; set; }
NanoSecond
public virtual int NanoSecond { get; set; }
TimeZone
public virtual TimeZone TimeZone { get; set; }
Calendar
public virtual XmpCalendar Calendar { get; }
Iso8601String
public virtual string Iso8601String { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.