ClockExtensions extension

Provides extended methods for Clock.

Clock用の拡張メソッドを提供します。

on

Methods

toDate() Clock

Available on Clock, provided by the ClockExtensions extension

Create a new DateTime by extracting only the year and month from DateTime.
toUnUtc() Clock

Available on Clock, provided by the ClockExtensions extension

Treats DateTime, which is not defined as UTC due to parsing, as UTC and converts it to local time.