Skip to content

Replace java.util.concurrent.TimeUnit with java.time.Duration #3853

Open
@Jeff11

Description

@Jeff11

Please add functions that accept Duration for all public functions that currently only accept TimeUnit

For example:
old:
PhoneAuthOptions.Builder(Firebase.auth).setTimeout(60, TimeUnit.SECONDS)

new:
PhoneAuthOptions.Builder(Firebase.auth).setTimeout(Duration.ofSeconds(60))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions