Click or drag to resize

DateTimeOffsetHelper Class

Assistant class to help with conversions between Java-style and granularity dates and CLR-style DateTime.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.compatDateTimeOffsetHelper

Namespace:  com.espertech.esper.compat
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static class DateTimeOffsetHelper

The DateTimeOffsetHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCeiling
Public methodStatic memberCreateDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, TimeSpan)
Public methodStatic memberCreateDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, TimeZoneInfo)
Creates the date time within the specified timezone
Public methodStatic memberInMillis
Gets the number of milliseconds needed to represent the datetime.
Public methodStatic memberMillisToDateTimeOffset
Converts milliseconds into a datetime offset.
Public methodStatic memberMillisToJavaMillis
Converts millis in CLR to millis in Java. In this case, it assumes that your millis are the result of a conversion from UtcTicks.
Public methodStatic memberNormalize
Normalizes the specified date time.
Public methodStatic memberNow
Public methodStatic memberRange
Public methodStatic memberRound
Public methodStatic memberTimeFromMillis(Int64, TimeSpan)
Gets the datetime that matches the number of milliseconds provided.
Public methodStatic memberTimeFromMillis(Int64, TimeZoneInfo)
Gets the datetime that matches the number of milliseconds provided.
Public methodStatic memberToDateTimeOffset
Public methodStatic memberTranslateTo
Public methodStatic memberTruncate
Public methodStatic memberUtcMillis
Gets the number of milliseconds needed to represent the datetime.
Public methodStatic memberWith
Public methodStatic memberWithDay
Public methodStatic memberWithHour
Public methodStatic memberWithMilli
Public methodStatic memberWithMinute
Public methodStatic memberWithMonth
Public methodStatic memberWithSecond
Public methodStatic memberWithYear
Top
See Also