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
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
() |
|
|
() |
|
|
() |
|
|
() |
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
-
IXmpDateTime -
IComparable
Constructors
XmpDateTimeImpl [1/4]
Source code
public XmpDateTimeImpl()
Summary
Creates an
XMPDateTime
XmpDateTimeImpl [2/4]
Source code
public XmpDateTimeImpl(XmpCalendar calendar)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
calendar |
a ... |
Summary
Creates an
XMPDateTime
XmpDateTimeImpl [3/4]
Source code
public XmpDateTimeImpl(DateTime date, TimeZone timeZone)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
date |
a date describing an absolute point in time |
|
|
timeZone |
a 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
|
Type |
Name |
Description |
|---|---|---|
|
|
strValue |
an ISO 8601 string |
Summary
Creates an
XMPDateTime
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
If the string is a non-conform ISO 8601 string, an exception is thrown |
Methods
CompareTo
Source code
public virtual int CompareTo(object dt)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
dt |
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