Library Foundation

Package DateTime

Overview

Classes: Clock, DateTime, DateTimeFormat, DateTimeFormatter, DateTimeParser, LocalDateTime, Stopwatch, Timespan, Timestamp, Timezone

Functions: swap

Classes

class Clock

A Clock stores a monotonic* clock value with (theoretical) microseconds resolution. 

class DateTime

This class represents an instant in time, expressed in years, months, days, hours, minutes, seconds and milliseconds based on the Gregorian calendar. 

class DateTimeFormat

Definition of date/time formats and various constants used by DateTimeFormatter and DateTimeParser

class DateTimeFormatter

This class converts dates and times into strings, supporting a variety of standard and custom formats. 

class DateTimeParser

This class provides a method for parsing dates and times from strings. 

class LocalDateTime

This class represents an instant in local time (as opposed to UTC), expressed in years, months, days, hours, minutes, seconds and milliseconds based on the Gregorian calendar. 

class Stopwatch

A simple facility to measure time intervals with microsecond resolution. 

class Timespan

A class that represents time spans up to microsecond resolution. 

class Timestamp

A Timestamp stores a monotonic* time value with (theoretical) microseconds resolution. 

class Timezone

This class provides information about the current timezone. 

Securely control IoT edge devices from anywhere   Connect a Device