Home
last modified time | relevance | path

Searched refs:UnixTime (Results 1 – 25 of 872) sorted by relevance

12345678910>>...35

/dports/astro/gpstk/GPSTk-8.0.0/core/lib/TimeHandling/
H A DUnixTime.cpp46 UnixTime& UnixTime::operator=( const UnixTime& right ) in operator =()
54 CommonTime UnixTime::convertToCommonTime() const in convertToCommonTime()
176 bool UnixTime::isValid() const in isValid()
178 UnixTime temp; in isValid()
187 void UnixTime::reset() in reset()
193 bool UnixTime::operator==( const UnixTime& right ) const in operator ==()
209 bool UnixTime::operator!=( const UnixTime& right ) const in operator !=()
214 bool UnixTime::operator<( const UnixTime& right ) const in operator <()
237 bool UnixTime::operator>( const UnixTime& right ) const in operator >()
242 bool UnixTime::operator<=( const UnixTime& right ) const in operator <=()
[all …]
H A DUnixTime.hpp67 class UnixTime : public TimeTag class
80 UnixTime( int sec = 0, in UnixTime() function in gpstk::UnixTime
88 UnixTime( struct timeval t, in UnixTime() function in gpstk::UnixTime
98 UnixTime( const UnixTime& right ) in UnixTime() function in gpstk::UnixTime
109 UnixTime( const TimeTag& right ) in UnixTime() function in gpstk::UnixTime
121 UnixTime( const CommonTime& right ) in UnixTime() function in gpstk::UnixTime
131 UnixTime& operator=( const UnixTime& right );
134 virtual ~UnixTime() in ~UnixTime()
184 virtual bool operator==( const UnixTime& right ) const;
186 virtual bool operator<( const UnixTime& right ) const;
[all …]
/dports/security/keepass-plugin-keepassrpc/keepassrpc-1.8.0/Jayrock/tests/Jayrock/
H A DTestUnixTime.cs49 Assert.AreEqual(u1, UnixTime.ToInt64(t1.ToLocalTime())); in IntegralConversions()
50 Assert.AreEqual(u2, UnixTime.ToInt64(t2.ToLocalTime())); in IntegralConversions()
62 DateTime ut1 = UnixTime.ToDateTime(u1).ToUniversalTime(); in Milliseconds()
65 DateTime ut2 = UnixTime.ToDateTime(u2).ToUniversalTime(); in Milliseconds()
72 …Assert.AreEqual(UnixTime.EpochUtc.AddMilliseconds(+123), UnixTime.ToDateTime(0, +123).ToUniversalT… in Milliseconds()
73 …Assert.AreEqual(UnixTime.EpochUtc.AddMilliseconds(-123), UnixTime.ToDateTime(0, -123).ToUniversalT… in Milliseconds()
79 UnixTime.ToDateTime(123, -456); in CannotSpecifyPositiveTimeWithNegativeMilliseconds()
85 UnixTime.ToDateTime(-123, 456); in CannotSpecifyNegativeTimeWithPositiveMilliseconds()
97 UnixTime.ToDateTime(0, 1000); in CannotOverflowMilliseconds()
103 UnixTime.ToDateTime(0, -1000); in CannotOverflowNegativeMilliseconds()
[all …]
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/timeutils/
H A Dunixtime.h44 typedef struct _UnixTime UnixTime; typedef
60 unix_time_is_set(const UnixTime *ut) in unix_time_is_set()
66 unix_time_is_timezone_set(const UnixTime *self) in unix_time_is_timezone_set()
72 void unix_time_unset(UnixTime *ut);
73 void unix_time_set_now(UnixTime *self);
75 void unix_time_set_timezone(UnixTime *self, gint new_gmtoff);
76 void unix_time_set_timezone_with_tzinfo(UnixTime *self, TimeZoneInfo *tzinfo);
77 void unix_time_fix_timezone(UnixTime *self, gint new_gmtoff);
78 void unix_time_fix_timezone_with_tzinfo(UnixTime *self, TimeZoneInfo *tzinfo);
79 gboolean unix_time_fix_timezone_assuming_the_time_matches_real_time(UnixTime *self);
[all …]
/dports/devel/stack/stack-2.7.3/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/unix-time-0.4.7/Data/UnixTime/
H A DConv.hs3 module Data.UnixTime.Conv (
14 import Data.UnixTime.Types
51 return $ UnixTime sec 0
65 return $ UnixTime sec 0
107 -> UnixTime
140 fromEpochTime :: EpochTime -> UnixTime
141 fromEpochTime sec = UnixTime sec 0
146 toEpochTime :: UnixTime -> EpochTime
147 toEpochTime (UnixTime sec _) = sec
152 fromClockTime :: ClockTime -> UnixTime
[all …]
/dports/security/vuls/go-autorest-autorest-v0.9.3/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/security/vuls/go-autorest-logger-v0.1.0/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/security/vuls/go-autorest-tracing-v0.5.0/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/security/vuls/go-autorest-aff029487b89/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/github.com/Azure/go-autorest/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/www/gitlab-workhorse/go-autorest-79a63e70c4d8/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/www/gitlab-workhorse/go-autorest-b3a0b30a7423/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/www/gitlab-workhorse/go-autorest-logger-v0.2.1/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/www/gitlab-workhorse/go-autorest-tracing-v0.6.0/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/Azure/go-autorest/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/Azure/go-autorest/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/distribution/distribution-2.7.0/vendor/github.com/Azure/go-autorest/autorest/date/
H A Dunixtime.go29 type UnixTime time.Time type
32 func (t UnixTime) Duration() time.Duration {
37 func NewUnixTimeFromSeconds(seconds float64) UnixTime {
48 return UnixTime(unixEpoch.Add(dur))
58 func (t UnixTime) MarshalJSON() ([]byte, error) {
70 func (t *UnixTime) UnmarshalJSON(text []byte) error {
84 func (t UnixTime) MarshalText() ([]byte, error) {
90 func (t *UnixTime) UnmarshalText(raw []byte) error {
97 *t = UnixTime(unmarshaled)
102 func (t UnixTime) MarshalBinary() ([]byte, error) {
[all …]

12345678910>>...35