Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
WritingPofHandler..::.OnDateTime Method (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, TimeSpan)
WritingPofHandler Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Report that a date-time value (with a timezone offset) has been encountered in the POF stream.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public virtual void OnDateTime(
    	int position,
    	int year,
    	int month,
    	int day,
    	int hour,
    	int minute,
    	int second,
    	int nano,
    	TimeSpan zoneOffset
    )

#### Parameters

position
  Type: System..::.Int32
  Context-sensitive position information: property position within a user type, array position within an array, element counter within a collection, entry counter within a map, -1 otherwise.

year
  Type: System..::.Int32
  The year number as defined by ISO8601; note the difference with the Java Date class, whose year is relative to 1900.

month
  Type: System..::.Int32
  The month number between 1 and 12 inclusive as defined by ISO8601; note the difference from the Java Date class, whose month value is 0-based (0-11).

day
  Type: System..::.Int32
  The day number between 1 and 31 inclusive as defined by ISO8601.

hour
  Type: System..::.Int32
  The hour between 0 and 23 inclusive.

minute
  Type: System..::.Int32
  The minute value between 0 and 59 inclusive.

second
  Type: System..::.Int32
  The second value between 0 and 59 inclusive (and theoretically 60 for a leap-second).

nano
  Type: System..::.Int32
  The nanosecond value between 0 and 999999999 inclusive.

zoneOffset
  Type: System..::.TimeSpan
  The timezone offset from UTC, for example 0 for BST, -5 for EST and +1 for CET.

#### Implements

IPofHandler..::.OnDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, TimeSpan)

# See Also

WritingPofHandler Class
OnDateTime Overload
Tangosol.IO.Pof Namespace