Documentation

Std.Time.Time.PlainTime

Represents a specific point in a day, including hours, minutes, seconds, and nanoseconds.

Instances For
    theorem Std.Time.PlainTime.ext {x y : PlainTime} (hour : x.hour = y.hour) (minute : x.minute = y.minute) (second : x.second = y.second) (nanosecond : x.nanosecond = y.nanosecond) :
    x = y
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        Equations
        • One or more equations did not get rendered due to their size.

        Creates a PlainTime value representing midnight (00:00:00.000000000).

        Equations
        Instances For
          @[inline]

          Creates a PlainTime value from the provided hours, minutes, seconds and nanoseconds components.

          Equations
          Instances For
            @[inline]

            Creates a PlainTime value from the provided hours, minutes, and seconds.

            Equations
            Instances For

              Converts a PlainTime value to the total number of nanoseconds.

              Equations
              Instances For

                Converts a PlainTime value to the total number of seconds.

                Equations
                Instances For

                  Converts a PlainTime value to the total number of minutes.

                  Equations
                  Instances For

                    Converts a PlainTime value to the total number of hours.

                    Equations
                    Instances For

                      Creates a PlainTime value from a total number of nanoseconds.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        @[inline]

                        Creates a PlainTime value from a total number of millisecond.

                        Equations
                        Instances For
                          @[inline]

                          Creates a PlainTime value from a total number of seconds.

                          Equations
                          Instances For
                            @[inline]

                            Creates a PlainTime value from a total number of minutes.

                            Equations
                            Instances For
                              @[inline]

                              Creates a PlainTime value from a total number of hours.

                              Equations
                              Instances For
                                @[inline]

                                Adds seconds to a PlainTime.

                                Equations
                                Instances For
                                  @[inline]

                                  Subtracts seconds from a PlainTime.

                                  Equations
                                  Instances For
                                    @[inline]

                                    Adds minutes to a PlainTime.

                                    Equations
                                    Instances For
                                      @[inline]

                                      Subtracts minutes from a PlainTime.

                                      Equations
                                      Instances For
                                        @[inline]

                                        Adds hours to a PlainTime.

                                        Equations
                                        Instances For
                                          @[inline]

                                          Subtracts hours from a PlainTime.

                                          Equations
                                          Instances For

                                            Adds nanoseconds to a PlainTime.

                                            Equations
                                            Instances For

                                              Subtracts nanoseconds from a PlainTime.

                                              Equations
                                              Instances For

                                                Adds milliseconds to a PlainTime.

                                                Equations
                                                Instances For

                                                  Subtracts milliseconds from a PlainTime.

                                                  Equations
                                                  Instances For
                                                    @[inline]

                                                    Creates a new PlainTime by adjusting the second component to the given value.

                                                    Equations
                                                    Instances For
                                                      @[inline]

                                                      Creates a new PlainTime by adjusting the minute component to the given value.

                                                      Equations
                                                      Instances For
                                                        @[inline]

                                                        Creates a new PlainTime by adjusting the milliseconds component inside the nano component of its time to the given value.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          @[inline]

                                                          Creates a new PlainTime by adjusting the nano component to the given value.

                                                          Equations
                                                          Instances For
                                                            @[inline]

                                                            Creates a new PlainTime by adjusting the hour component to the given value.

                                                            Equations
                                                            Instances For