![]() | DateTimeHelper Class |
Namespace: com.espertech.esper.compat
public static class DateTimeHelper
The DateTimeHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CurrentTimeMillis |
Returns the current time in millis
|
![]() ![]() | CurrentTimeNanos |
Gets the current time in nanoseconds.
|
Name | Description | |
---|---|---|
![]() ![]() | Ceiling | |
![]() ![]() | FromMicros | |
![]() ![]() | GetCurrentTime | |
![]() ![]() | GetCurrentTimeMillis |
Returns the current time in millis
|
![]() ![]() | GetCurrentTimeUniversal | |
![]() ![]() | MicrosToTicks |
Converts microseconds to ticks
|
![]() ![]() | MillisToTicks |
Converts milliseconds to ticks
|
![]() ![]() | NanosToTicks |
Nanoses to ticks.
|
![]() ![]() | Print(DateTime, String) | |
![]() ![]() | Print(DateTimeOffset, String) | |
![]() ![]() | Print(Int64, TimeZoneInfo) | |
![]() ![]() | PrintWithZone | |
![]() ![]() | Range | |
![]() ![]() | Round | |
![]() ![]() | TicksToMillis |
Converts ticks to milliseconds
|
![]() ![]() | TicksToNanos |
Converts ticks to nanoseconds
|
![]() ![]() | TimeFromMillis | |
![]() ![]() | ToShortDateString | |
![]() ![]() | ToShortTimeString | |
![]() ![]() | TranslateTo | |
![]() ![]() | Truncate | |
![]() ![]() | UtcFromMicros | |
![]() ![]() | UtcFromMillis | |
![]() ![]() | UtcMillis |
Gets the number of milliseconds needed to represent
the datetime. This is needed to convert from Java
datetime granularity (milliseconds) to CLR datetimes.
|
![]() ![]() | UtcNanos |
Gets the number of nanoseconds needed to represent
the datetime.
|
![]() ![]() | With | |
![]() ![]() | WithDay | |
![]() ![]() | WithHour | |
![]() ![]() | WithMilli | |
![]() ![]() | WithMinute | |
![]() ![]() | WithMonth | |
![]() ![]() | WithSecond | |
![]() ![]() | WithYear |
Name | Description | |
---|---|---|
![]() ![]() | NANOS_PER_TICK |
Number of nanoseconds per tick
|
![]() ![]() | TICKS_PER_MICRO |
Number of ticks per microsecond
|
![]() ![]() | TICKS_PER_MILLI |
Number of ticks per millisecond
|