Name

new — Creates a new TimestampLocalTZ object

Synopsis

TimestampLocalTZ.new(value, fmt)

Description

#new creates a new TimestampLocalTZ object. With no arguments, the timestamp is set to the current time. If value is specified, it must be a String, Time or BaseTimestamp. If fmt is specified, the instance variable default_fmt is set. If fmt contains a seconds-precision format (“FFn”, where n is in the range 1–9), the instance variable secondprecision is set to n.