class Ole::ConvertDateTime

Defined in:

convert_datetime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytes : Bytes) #

[View source]

Instance Method Detail

def bytes : Bytes #

[View source]
def bytes=(bytes : Bytes) #

[View source]
def day : Int32 #

[View source]
def day=(day : Int32) #

[View source]
def hours : Int32 #

[View source]
def hours=(hours : Int32) #

[View source]
def minutes : Int32 #

[View source]
def minutes=(minutes : Int32) #

[View source]
def month : Int32 #

[View source]
def month=(month : Int32) #

[View source]
def reverse : Bytes #

[View source]
def seconds : Int32 #

[View source]
def seconds=(seconds : Int32) #

[View source]
def to_datetime #

calls to_u64


[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def to_time : Time #

if time = 01-01-1601, returns Time.utc else return the time as computed


[View source]
def to_u64 : UInt64 #

[View source]
def year : Int32 #

[View source]
def year=(year : Int32) #

[View source]