CliMA / CliMA/ClimaUtilities.jl

Make ITime easier to use

Open
#183 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
8
Forks
2
Avg merge
2h 34m
Merged PRs (30d)
1

Description

Some patterns are repeated a lot when using ITime. Some of these could have convenience functions. For example:

`hasdate(::ITime)`
`ITime(::DateTime)`
`Second(ITime)`

Define some convenience abstract types, like "ITimeNoDate", "ITimeWithDate"

Things that ITime cannot do at the moment.
- can't add or subtract a Dates.Period from an ITime
- `ITime(::ITime)` does not exist, but `DateTime(::DateTime) and Float64(::Float64) do`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the ITime implementation and its existing conversion and arithmetic behavior. Review the listed convenience functions, abstract types, and Dates.Period operations, then clarify which API additions are in scope and define completion through coverage of the agreed behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.