| 1 | package Sisimai::Time; | ||
| 2 | 87 | ▶ | use parent 'Time::Piece'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 87 | ▶ | use v5.26; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 87 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 87 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 694 | ▶ | sub TO_JSON { |
|
Subroutine
TO_JSON: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | # Instance method for JSON::encode() | ||
| 9 | # @return [Integer] Machine time | ||
| 10 | 694 | my $self = shift; | |
| 11 | 694 | return $self->epoch; | |
| 12 | } | ||
| 13 | |||
| 14 | 87 | 1; | |
| 15 | __END__ | ||